使用订阅的 Grok 时,长任务总会在做到一半时对话突然停住
- Dominant language
- TypeScript
- Stars
- 2.7k
- Forks
- 401
- Avg merge
- 21h 48m
- Merged PRs (30d)
- 776
Description
**提交人**: 相川
**客户端版本**: 0.1.64
---
## 现象
使用订阅的 Grok 做较长任务时,对话会在做到一半时突然停住,当前回合不再继续输出或调用工具,需要用户再发一条消息才能接着干。
## 复现步骤
1. 选择订阅的 Grok 作为当前模型。
2. 发起需要多步执行的较长任务(例如持续改代码、查文件、打包验证)。
3. 等待 agent 执行过程中观察对话是否会中途停止。
## 期望行为
同一回合应持续执行到该步任务完成或明确报错,不应无提示地停住。
## 实际行为
对话突然停住,当前工作停在半路。历史中多次出现“上一回合因应用中途退出而被打断”或“上一回合中途报错”的续跑提示,用户只能重新发消息让 agent 接着做。
## 复现频率
每次使用订阅的 Grok 都会出现。
## 已尝试
用户多次重新发送消息让 agent 从中断处继续;问题仍复现。
## 诊断摘要(用户同意纳入,已脱敏)
- 中断形态:对话突然停住,而不是弹出可见错误窗。
- 宿主侧曾出现回合中途退出或中途报错,导致 agent 无法把当前任务做完。
- 与具体业务文件、个人路径无关;触发条件明确指向“订阅的 Grok + 较长多步任务”。
---
**OS**: win32 x64 (10.0.26200)
**界面语言**: zh-CN
Contributor guide
Research direction
No file or test is named in the report. Start by tracing the subscription Grok request through the long, multi-step agent execution path on Windows, using the reported mid-turn exit and continuation messages as evidence. Done means a long task completes or shows a clear error without requiring a follow-up message, with regression coverage for the reported scenario.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- electron, typescript
- Domain
- ai, desktop
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Active
- Clarity
- Mostly clear
- Newbie friendliness
- 45/100