Repository navigation
Commit 3864a2b
committed
fix(server): Claude subagent results drop Claude Code's tools-used note (#30069)
Recent Claude Code versions open a foreground Agent tool result with a
<tools-used-before-summary> note for the parent model. The adapter stored it
as the subagent's result, so the subagent row and the child thread's final
message showed it. Strip that leading note when reading the result.
AI-assisted; verified with the tests and tools listed above.1 parent 5fb90c5 commit 3864a2b
1 file changed
Lines changed: 8 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3579 | 3579 | | |
3580 | 3580 | | |
3581 | 3581 | | |
| 3582 | + | |
| 3583 | + | |
| 3584 | + | |
| 3585 | + | |
3582 | 3586 | | |
| 3587 | + | |
| 3588 | + | |
| 3589 | + | |
| 3590 | + | |
3583 | 3591 | | |
3584 | 3592 | | |
3585 | 3593 | | |
| |||
0 commit comments