Repository navigation
Replies: 2 comments
|
Since the incorrect name appears both in the selector and tooltip, I’d look for the shared model-catalog/display-name definition rather than fixing each UI component separately. If the catalog was recently moved out of index.ts, there may be a normalization or formatting function that is stripping punctuation from the canonical model name. I’d search for the exact string: DeepSeek-V41-Flash and then trace backwards to determine whether it is stored incorrectly or generated incorrectly. Ideally the model metadata should keep a canonical display name: DeepSeek-V4.1-Flash and the UI should render that value directly rather than reconstructing the name from an internal model ID. I’d also add a small regression test around the model catalog asserting that the display name remains exactly DeepSeek-V4.1-Flash. That would prevent another formatter/refactor from silently changing the user-facing model name again. If this clears up the issue, please consider marking the answer as accepted so others who run into the same problem can find the solution more easily. |
|
Since the incorrect name appears both in the selector and tooltip, I’d look for the shared model-catalog/display-name definition rather than fixing each UI component separately. If the catalog was recently moved out of index.ts, there may be a normalization or formatting function that is stripping punctuation from the canonical model name. I’d search for the exact string: DeepSeek-V41-Flash and then trace backwards to determine whether it is stored incorrectly or generated incorrectly. Ideally the model metadata should keep a canonical display name: DeepSeek-V4.1-Flash and the UI should render that value directly rather than reconstructing the name from an internal model ID. I’d also add a small regression test around the model catalog asserting that the display name remains exactly DeepSeek-V4.1-Flash. That would prevent another formatter/refactor from silently changing the user-facing model name again. If this clears up the issue, please consider marking the answer as accepted so others who run into the same problem can find the solution more easily. |
Uh oh!
There was an error while loading. Please reload this page.
Follow-up to #6114 — still reproducible after the recent refactor.
Environment
@deepseek-ai/dsh0.2.0-rc.2 (desktop app, macOS arm64, nightly build 2026-09-29T10:18Z)DeepSeek-V41-FlashWhere it lives now
The catalog was split out of
index.tssince the original report. The string is now atpackages/llm/llm-deepseek/src/models.ts:9—name: 'DeepSeek-V41-Flash'— completelyunchanged. Line 17 of the same array uses the correct style,
name: 'DeepSeek-V4-Pro',so the two entries are inconsistent with each other.
Expected
DeepSeek-V4.1-Flash, matching the official release note:https://api-docs.deepseek.com/news/news260910/ ("DeepSeek-V4.1-Flash",
"Set your model to
deepseek-flash").Scope
Display only. The model id
deepseek-flashis correct — requests, billing and capabilitiesare unaffected. The selector renders
model.nameverbatim, so this single string is theentire source of the label.
Possible cause / fix
packages/llm/llm-deepseek/src/image-tokens.ts:4refers to this generation as"its current
v41configuration", so the internal shorthand seems to have leaked into theuser-facing name. One-character fix:
V41→V4.1.All reactions