会话内切换供应商/模型失败,提示“当前状态下无法执行此操作”
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 395
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 用户7528
**客户端版本**: 0.1.73
---
### 现象
在已有会话中切换供应商和模型时,弹出提示“当前状态下无法执行此操作,请稍后重试。”,切换无法完成。
### 复现条件
- 会话未在进行中(无生成任务)时同样复现
- 每次必现
- 重启 App 后问题依旧
- 近几版持续存在
### 影响范围
在任一引擎的会话内切换供应商都会失败(两种引擎均如此)。
### 绕过方式
- 新建会话后可正常切换
- 在同一会话内先切换到另一种引擎、再切回原引擎,之后供应商切换恢复可用
### 补充观察
切换引擎即可解除阻塞(无需新建会话),说明阻塞状态绑定在会话或引擎的运行状态上。
---
## 提交时的任务环境
仅代表提交时快照,不一定是故障环境。OS 来自提交客户端本机,不含 SSH 远端主机;Harness / 模型来自当前任务。与运行环境无关的反馈可忽略本段。
**版本区域**: CN
**OS**: win32 x64 (10.0.26200)
**Harness**: Claude Code
**Model ID**: ` glm-5.2 `
**界面语言**: zh-CN
Contributor guide
Research direction
No file, test, or entry point is named. First reproduce the failure in an existing idle session, then trace the session, engine, and provider/model switching state; done means switching providers and models works without creating a new session or changing engines.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 48/100