工具执行失败后出现未配对的 tool_call,导致整个 Session 无法继续使用 #1841
Replies: 9 comments
|
我也遇到了类似的问题 |
|
我的初步理解 [缺少对应的 tool_result] |
|
This is the #1697 family ? the exact crash string ( Confirm in 10 seconds npx dsh-plugin-doctor --profile ~/.dsh/profiles/web --jsonIf Permanent fix (staged)
Recovering the stuck session: the crash left the loop in a state it cannot unwind; start a new session (or restore one) after applying the profile fix. If you can share |
|
Thanks! I tried the command, but npx installs ***@***.*** instead of v1.6.0, and this version doesn't recognize the --profile option:
PS C:\Users\Administrator> npx dsh-plugin-doctor --profile ~/.dsh/profiles/web --json
Need to install the following packages:
***@***.***
Ok to proceed? (y) y
error: unknown option '--profile'
Should I install/run v1.6.0 directly from the GitHub release instead?
刘鑫
***@***.***
|
|
工具执行失败后留下未配对 tool_call → 会话卡死——和 #1473/#1497(损坏会话拖垮)、#739(序列化不一致)都是"状态不一致"家族。 临时:这个会话基本废了,开新会话最省事;官方应修"工具失败后清理/回滚 tool_call 状态"。排查思路见 FAQ:https://github.com/Electricitysheep/dsh-handbook/blob/main/docs/faq.md |
|
我又做了一个全新 Session 的最小测试:先询问 1+1,正常;再询问 TCP 协议含义,正常;随后要求查找当前目录,第一次进入 Tool execution 后立即出现 Cannot read properties of undefined (reading 'prepare')。因此看起来纯 Model 请求正常,而任何实际 Tool execution 都会触发该错误。
刘鑫
***@***.***
原始邮件
发件人:Zhou Yuchen ***@***.***>
发件时间:2026年8月15日 17:28
收件人:deepseek-ai/deepseek-harness ***@***.***>
抄送:wakakakahahaha ***@***.***>, Author ***@***.***>
主题:Re: [deepseek-ai/deepseek-harness] 工具执行失败后出现未配对的 tool_call,导致整个 Session 无法继续使用 (Discussion #1841)
工具执行失败后留下未配对 tool_call → 会话卡死——和 #1473/#1497(损坏会话拖垮)、#739(序列化不一致)都是"状态不一致"家族。
临时:这个会话基本废了,开新会话最省事;官方应修"工具失败后清理/回滚 tool_call 状态"。排查思路见 FAQ:https://github.com/Electricitysheep/dsh-handbook/blob/main/docs/faq.md
—
Reply to this email directly, view it on GitHub, or unsubscribe.
Triage notifications, keep track of coding agent tasks and review pull requests on the go with GitHub Mobile for iOS and Android. Download it today!
You are receiving this because you authored the thread.
|
|
Companion spec for the force-interrupt gap (also raised in #1856): a minimal CLI-level escape hatch for stuck turns. Proposal:
|
|
找到问题了找到问题了,感谢感谢
刘鑫
***@***.***
|
Uh oh!
There was an error while loading. Please reload this page.
我在使用 DeepSeek Harness 时遇到了一个可以重复出现的问题:
当某次 Tool 执行发生异常后,当前 Session 会进入无法继续正常对话的状态。
最开始 Tool 执行时报错:
All reactions