-
Notifications
You must be signed in to change notification settings - Fork 268
fix(core): add DeepSeek V4 Flash Vision to model metadata #3605
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -433,6 +433,10 @@ const STATIC_MODEL_METADATA: Partial<Record<ProviderType, Record<string, ModelMe | |
| capabilities: { ...REASONING_FUNCTION_CALLING, webSearch: true }, | ||
| thinkingOptions: { efforts: ['high', 'max'], toggle: true }, | ||
| }, | ||
| 'deepseek-v4-flash-vision-exp': { | ||
| capabilities: { vision: true, ...REASONING_FUNCTION_CALLING, webSearch: true }, | ||
| thinkingOptions: { efforts: ['high', 'max'], toggle: true }, | ||
|
Contributor
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [P2] Three independent sources agree this model exposes low/high/max: the models.dev entry (refreshed 2026-08-21, toggle plus low/high/max), the official Thinking Mode docs ( The likely origin is visible in the file: the sibling I am grading this P2 rather than P3, and I want to be explicit that I am raising a colleague's grade. The reasoning: this PR's entire purpose is to add correct metadata for one model. A wrong effort list is not a peripheral nitpick here — it is a defect in the single thing being added, and it is user-visible, since the effort menu simply will not offer Separately, and explicitly not part of this PR: |
||
| }, | ||
| 'deepseek-v4-pro': { | ||
| capabilities: { ...REASONING_FUNCTION_CALLING, webSearch: true }, | ||
| lastUpdated: '2026-08-13', | ||
|
|
@@ -578,7 +582,13 @@ const CURATED_CATALOG_FALLBACK_MODELS: Partial<Record<ProviderType, readonly str | |
| 'claude-sonnet-4-5-20250929', | ||
| ], | ||
| openai: ['gpt-5.5', 'gpt-5.5-pro', 'gpt-5.4', 'gpt-5.4-mini', 'gpt-5'], | ||
| deepseek: ['deepseek-v4-flash', 'deepseek-v4-pro', 'deepseek-reasoner', 'deepseek-chat'], | ||
| deepseek: [ | ||
| 'deepseek-v4-flash', | ||
| 'deepseek-v4-flash-vision-exp', | ||
| 'deepseek-v4-pro', | ||
| 'deepseek-reasoner', | ||
| 'deepseek-chat', | ||
| ], | ||
| google: ['gemini-3.5-flash', 'gemini-3.1-pro-preview', 'gemini-2.5-pro', 'gemini-2.5-flash'], | ||
| 'zai-coding-plan': ['glm-5.2', 'glm-5.1', 'glm-5-turbo', 'glm-4.7', 'glm-4.5-air'], | ||
| MiniMax: ['MiniMax-M3'], | ||
|
|
||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P3]
effortshere is['high', 'max']but every current upstream source listslowfor this model, so the menu will be missing the cheapest effort option.deepseek-v4-flash-vision-expwith toggle + effort values['low', 'high', 'max'](last updated 2026-08-21, the release date).reasoning_effort: low/high/max.deepseek-v4-proentry just below already pins['low', 'high', 'max'](lastUpdated 2026-08-13).The value looks copied from the
deepseek-v4-flashsibling above, whose pinned set predates its0731refresh (models.dev now lists flash aslow/high/maxtoo). Suggested fix:efforts: ['low', 'high', 'max'].(Separate observation, not for this PR: the
deepseek-v4-flashstatic entry has the same staleness and might deserve its own follow-up so the next model doesn't inherit it.)