Repository navigation
Replies: 1 comment
这是错误明细在传递中被丢掉——与本周另外两条同因1. 你的诉求我这样理解(请确认)子代理结束时,turn 结束的错误明细没有随结果传出来,于是 建议把诉求写成一句可判定的:
2. 这已经是本周第三条同因报告(建议互相引用,合成一次接口级修改)
⇒ 共同根源:结构化错误信息在某一层被降级成"一个字符串/一个笼统失败"。三条合起来足以支撑一次接口级修改(把 code/cause 一路带上去),比各自修更容易被采纳。 3. 请补三样
4. 关于可复现性
一条边界我没有核对子代理结算路径的代码(你给的是行为描述)。上面第 2 节的"同因"判断基于另两条已核实的报告( |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
[Bug] subagent outcome drops turn-end error detail, so 429/quota failures arrive opaque
Component:
@deepseek-ai/dsh-subagent-in-process-driverStatus: present in published
dsh-subagent-in-process-driver@0.2.0-rc.2What happens
A settled child is returned as
{ output, stopReason }, wherestopReasonis produced by flattening the turn-end reason to a bare kind:The turn-end reason carries the actual failure detail —
message,detail,status,statusCode,code— which is where provider 429 / quota-exhaustion surfaces. All of it is discarded, so the parent agent cannot distinguish rate limiting from a crash or a normal error, and cannot decide whether to retry, switch models, or give up.Expected
The settled outcome should retain enough detail to diagnose the failure, or at minimum expose a bounded diagnostic string.
Suggested change
Build a bounded diagnostic from the reason and attach it to the returned value:
We currently carry this as a local patch; it can be dropped once handled upstream.
All reactions