agentscope-ai / agentscope-ai/QwenPaw

[Bug] 京东云 Coding Plan 环境与会话执行中断

Aperta
#3,419 2 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
35k
Fork
3.1k
Merge medio
1g 13h
PR unite (30g)
228

Descrizione

## 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

Image

## Additional Notes

建议排查方向:
- HTTP 长连接保持配置
- 流式响应超时设置
- Tool Guard 审批回调后的会话恢复机制
- 京东云 Coding Plan 网络环境与默认超时值的兼容性

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by reproducing the interruption on Windows 11 with QwenPaw 1.1.1 in the Jingdong Cloud Coding Plan environment, focusing on the Console and CLI flow around Tool Guard approval and streaming responses. Check the HTTP connection, stream timeout, and approval callback/session recovery paths; done means an approved long-running tool task completes without requiring another user message.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
typescript
Ambito
cli, frontend
Tipo di issue
Bug
Difficoltà
4/5
Tempo stimato
3-5 giorni
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
48/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.