[codex] 修复设置页模型能力保存#37
Draft
leonliu76-web wants to merge 1 commit into
Draft
Conversation
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.
变更内容
问题原因
用户添加
qwen3-asr-*这类转录模型并选择“转录模型”后,保存流程会再次经过模型能力归一化。由于通用qwen3模型画像会把模型识别为聊天模型,显式选择的transcription能力被覆盖成chat,导致转录模型下拉保存后仍为空。用户影响
配置阿里百炼 / DashScope 等 ASR 模型时,用户即使在 UI 中选择了“转录模型”,保存后模型仍可能显示为聊天模型,无法在转录模型设置中选中。
验证
npx tsc --noEmitgit diff --check