chore(ai): refresh the generated model catalog - #1445
Open
snimu wants to merge 1 commit into
Open
Conversation
…alogs Commits the current `npm run generate-models` output. 92 models added, 33 removed (net 1163 -> 1222) across 14 providers. Highlights: DeepSeek V4 Flash/Pro dated snapshots (workers-ai, fireworks, huggingface), gemini-3.7-flash (google, copilot), grok-4.5/4.6 and kimi-k3 on copilot, glm-5.3 on opencode-go, and the GPT-5.x family on cloudflare-ai-gateway; retired claude-opus-4-1 aliases, gemini-2.0-flash, and ling-3.0-flash routes. The build regenerates this file from live catalogs anyway; committing keeps the checked-in file from drifting further and keeps local keyless test runs representative.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What
Refreshes the checked-in
models.generated.tswith the current output ofnpm run generate-models. Pure generated output, nothing hand-edited: 92 models added, 33 removed (1163 → 1222) across 14 providers.Why
The build regenerates this file from the live provider catalogs on every CI run anyway — but the committed copy had drifted ~2,300 lines behind reality. Refreshing it keeps local keyless test runs representative of what CI actually tests, and makes future drift diffs reviewable instead of monolithic.
Highlights
Added
0731/ Pro0813dated snapshots (cloudflare-workers-ai, fireworks, huggingface)gemini-3.7-flash(google, github-copilot),gemini-3.6-flash(copilot)grok-4.5/grok-4.6andkimi-k3on github-copilotglm-5.3on opencode-go,qwen3.6-27bon groq,qwen3p8-maxon fireworksRemoved
claude-opus-4-1aliases retired everywhere (anthropic, opencode, vercel, cloudflare)gemini-2.0-flash/-liteandgemini-3-pro-previewretired on googleling-3.0-flashfree routes gone (openrouter, opencode, vercel)Validation
packages/aisuite against the regenerated catalog: 327 passed / 731 skipped, 0 failed — so no supports-xhigh-style expectation drift is hiding in this refreshnpm run buildreproduces the file byte-identically;npm run checkcleanNote
Medium Risk
Removed model IDs can break saved configs or tests that still reference them; widespread pricing and context-limit changes affect cost estimates and truncation behavior without runtime code changes.
Overview
Regenerates
models.generated.tsfrom the current provider catalogs (~92 models added, ~33 removed), bringing the committed file in line with whatnpm run generate-modelsemits on build.Retirements include
claude-opus-4-1(and dated alias) across Anthropic and gateway providers, legacy Claude 3.x routes on Cloudflare AI Gateway,gemini-2.0-flash/-liteandgemini-3-pro-previewon Google, and several free-tier routes (e.g. Ling 3.0 flash on OpenRouter/OpenCode/Vercel).Additions and updates span new dated DeepSeek V4 snapshots,
gemini-3.7-flash, Grok 4.5/4.6, Kimi K3, GLM 5.3, Qwen 3.8 family entries, expanded GPT-5.x and Workers AI routes on Cloudflare Gateway, and Hugging Face / Fireworks / OpenRouter listings. Many existing entries only change context windows, token limits, cache pricing,thinkingLevelMap(often adding"max":nullfor DeepSeek), display names, or API kind (e.g. OpenCode Go Qwen3.7 models moved fromanthropic-messagestoopenai-completions).Reviewed by Cursor Bugbot for commit 616463e. Bugbot is set up for automated code reviews on this repo. Configure here.
Note
Refresh generated model catalog with new models and updated pricing
Regenerates models.generated.ts to reflect the current state of supported AI models across all providers.
(latest)suffixes, removing some Claude 3-series gateway entries)contextWindow,maxTokens, or cost fields will reflect new values immediately for any downstream consumersMacroscope summarized 616463e.