Repository navigation
Commit 38d3049
committed
fix(voice): keep session tool results in the next agent's context
During a handoff, a session-scoped async tool inserts its result into the
next agent before that agent starts. Agent.update_chat_ctx then filters by
the agent's own tools, which drops the session tool's call and output, and
the reply is generated without them. Skip that filter for session-scoped
executors, whose tools are valid for every agent in the session.1 parent 7064666 commit 38d3049
2 files changed
Lines changed: 5 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
529 | 529 | | |
530 | 530 | | |
531 | 531 | | |
532 | | - | |
| 532 | + | |
| 533 | + | |
| 534 | + | |
| 535 | + | |
533 | 536 | | |
534 | 537 | | |
535 | 538 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
203 | 203 | | |
204 | 204 | | |
205 | 205 | | |
| 206 | + | |
206 | 207 | | |
207 | 208 | | |
208 | 209 | | |
| |||
0 commit comments