Skip to content

[codex] 修复设置页模型能力保存#37

Draft
leonliu76-web wants to merge 1 commit into
Jamailar:mainfrom
leonliu76-web:codex/fix-transcription-model-capability-cn
Draft

[codex] 修复设置页模型能力保存#37
leonliu76-web wants to merge 1 commit into
Jamailar:mainfrom
leonliu76-web:codex/fix-transcription-model-capability-cn

Conversation

@leonliu76-web

Copy link
Copy Markdown

变更内容

  • 保留用户在设置页手动选择的模型能力,避免被模型名自动推断规则覆盖。
  • 从候选模型中选择疑似 ASR 模型时,默认使用“转录模型”能力。

问题原因

用户添加 qwen3-asr-* 这类转录模型并选择“转录模型”后,保存流程会再次经过模型能力归一化。由于通用 qwen3 模型画像会把模型识别为聊天模型,显式选择的 transcription 能力被覆盖成 chat,导致转录模型下拉保存后仍为空。

用户影响

配置阿里百炼 / DashScope 等 ASR 模型时,用户即使在 UI 中选择了“转录模型”,保存后模型仍可能显示为聊天模型,无法在转录模型设置中选中。

验证

  • npx tsc --noEmit
  • git diff --check

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