新对话时无法切换模型,提示「当前状态下无法执行此操作」
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 33543015
**客户端版本**: 0.1.73
---
## 问题描述
在新对话界面尝试通过 UI 按钮切换模型时,系统提示「当前状态下无法执行此操作」,无法完成切换。
## 复现步骤
1. 打开新对话
2. 点击 UI 界面上的模型切换按钮
3. 尝试从 Sonnet 切换到 Grok
4. 收到错误提示
## 实际行为
每次尝试切换模型都会显示「当前状态下无法执行此操作」,无法切换成功。
## 期望行为
用户应该能够在对话过程中随时切换不同的模型,以便针对不同任务使用适合的模型能力。
## 影响
- 无法根据任务特点灵活选择模型
- 需要关闭当前对话并重新开始才能使用其他模型
- 影响工作流的连续性
---
## 提交时的任务环境
仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**OS**: win32 x64 (10.0.26200)
**Harness**: Claude Code
**Model ID**: ` claude-sonnet-5 `
**界面语言**: zh-CN
Contributor guide
Research direction
Start by tracing the new-conversation UI and the model-switch button, then reproduce the Sonnet-to-Grok switch described in the issue. Compare the UI error with the state that blocks the action; done means switching models succeeds during an existing conversation without showing the error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Active
- Clarity
- Needs clarification
- Newbie friendliness
- 48/100