agentscope-ai / agentscope-ai/QwenPaw
[Bug] 京东云 Coding Plan 环境与会话执行中断
- Dominant language
- Python
- Stars
- 34.9k
- Forks
- 3.1k
- Avg merge
- 1d 15h
- Merged PRs (30d)
- 225
Description
## QwenPaw Version
1.1.1
## Description
在京东云 Coding Plan 环境下使用 QwenPaw 时,Agent 在执行工具或思考过程中会话会意外中断,需要用户再次提醒智能体才会继续执行。
具体表现:
- Tool Guard 审批弹窗正常出现
- 但提交 `/approve` 后会话仍然中断
- 多次尝试后问题复现一致
- 截图显示 `Thinking` → `execute_shell_command` 循环被意外切断
**Related PR(s):** (无)
**Security considerations:** 无
## Component(s) Affected
- [ ] Core / Backend (app, agents, config, providers, utils, local_models)
- [x] Console (frontend web UI)
- [ ] Channels (DingTalk, Feishu, QQ, Discord, iMessage, etc.)
- [ ] Skills
- [x] CLI
- [ ] Documentation (website)
- [ ] Tests
- [ ] CI/CD
- [ ] Scripts / Deploy
## Environment
- **QwenPaw version:** 1.1.1
- **OS:** Windows 11 (AMD64)
- **Install method:** pip / virtualenv (E:\Git\CoPaw\.venv)
- **Python version (if applicable):** (待确认)
- **Platform:** 京东云 Coding Plan
## Steps to Reproduce
1. 在京东云 Coding Plan 环境部署/使用 QwenPaw
2. 触发需要调用工具或长时间思考的任务(如生成 PPT 文件)
3. 观察 Agent 进入 `Thinking` → `execute_shell_command` 循环
4. 等待 Tool Guard 审批时点击 `/approve`
5. 观察到会话在执行过程中中断
## Actual vs Expected
- **Actual:** 会话在执行过程中意外中断,需要用户手动再次发送消息才能恢复
- **Expected:** 任务应完整执行完成,Tool Guard 审批后正常继续
## Logs / Screenshots
## Additional Notes
建议排查方向:
- HTTP 长连接保持配置
- 流式响应超时设置
- Tool Guard 审批回调后的会话恢复机制
- 京东云 Coding Plan 网络环境与默认超时值的兼容性
Contributor guide
Assessment
This issue has not been assessed yet.