Skip to content

fix(ai): remove stale OpenRouter Kimi free model assertion#5650

Open
vegarsti wants to merge 1 commit into
mainfrom
fix/openrouter-kimi-free-ci
Open

fix(ai): remove stale OpenRouter Kimi free model assertion#5650
vegarsti wants to merge 1 commit into
mainfrom
fix/openrouter-kimi-free-ci

Conversation

@vegarsti

@vegarsti vegarsti commented Jun 11, 2026

Copy link
Copy Markdown
Member

CI is currently failing, both for PRs and on main:generate-models.ts fetches live OpenRouter models from https://openrouter.ai/api/v1/model and only includes models returned by that API and supporting tools. The current OpenRouter response does not include moonshotai/kimi-k2.6:free. So after CI regeneration, moonshotai/kimi-k2.6:free is gone from src/models.generated.ts, then tsgo --noEmit type-checks tests against the regenerated file, and the test still references the removed id, causing the type error.

(Not 100% sure about this but seems reasonable!)

@vegarsti vegarsti requested a review from badlogic June 11, 2026 19:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant