feat: add DeepSeek V4.1 Flash and model retirement notices - #267
Merged
Merged
Conversation
Vizards
force-pushed
the
feat/deepseek-flash-migration
branch
from
September 10, 2026 11:55
62f0d4d to
0d217d6
Compare
Vizards
marked this pull request as ready for review
September 10, 2026 12:24
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
🟢 Approval recommended
The implementation consistently integrates the new model and retirement metadata, with successful CI and no unresolved defects found.
Pull request overview
Adds DeepSeek V4.1 Flash while preserving legacy model behavior and communicating official migration timelines.
Changes:
- Adds V4.1 Flash with native vision, thinking, tools, pricing, and ID mapping.
- Adds endpoint-aware retirement notices and cutoff-based Pro pricing.
- Updates English and Chinese documentation and settings text.
File summaries
| File | Description |
|---|---|
src/provider/vision/sources/vscode/index.ts |
Preserves legacy proxy selection. |
src/provider/retirement.ts |
Defines retirement notice logic. |
src/provider/models.ts |
Adds warnings and conditional pricing. |
src/provider/index.ts |
Refreshes metadata for mapping changes. |
src/i18n.ts |
Adds bilingual model and migration text. |
src/consts.ts |
Registers V4.1 Flash capabilities and pricing. |
src/config.ts |
Clarifies output-limit behavior. |
resources/walkthrough/show-models.nls.zh-cn.md |
Updates Chinese picker guidance. |
resources/walkthrough/show-models.md |
Updates English picker guidance. |
README.zh-cn.md |
Documents models and migration in Chinese. |
README.md |
Documents models and migration in English. |
package.nls.zh-cn.json |
Updates Chinese setting descriptions. |
package.nls.json |
Updates English setting descriptions. |
package.json |
Adds the model mapping configuration. |
Review details
- Files reviewed: 14/14 changed files
- Comments generated: 0
- Review effort level: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
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.
Related issues
Related to #265.
Problem
The model picker does not expose
deepseek-flashor explain the official routing changes for the old V4 model names. Add DeepSeek V4.1 Flash and migration notices so users can choose the new entry and plan existing conversations around the transition.Changes and scope
deepseek-flash) with native vision, thinking mode, tool calling, CNY/USD prices, and a model ID mapping setting.maxTokens=0uses the API default. Versioning remains managed by release-please.Validation
git diff --checkalso passes.Known limits
Final checks