Commit 2c7c733
fix(go): forward binary_results_for_llm and session_log in HandlePendingToolCall RPC
ToolResult.BinaryResultsForLLM and SessionLog were dropped when building
ExternalToolTextResultForLlm in executeToolAndRespond, mirroring the same
bug fixed in Python by this PR. Binary tool outputs (e.g. images) returned
by Go tool handlers never reached the model.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d9058f0 commit 2c7c733
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1575 | 1575 | | |
1576 | 1576 | | |
1577 | 1577 | | |
| 1578 | + | |
| 1579 | + | |
| 1580 | + | |
| 1581 | + | |
| 1582 | + | |
| 1583 | + | |
| 1584 | + | |
| 1585 | + | |
| 1586 | + | |
| 1587 | + | |
| 1588 | + | |
| 1589 | + | |
| 1590 | + | |
| 1591 | + | |
1578 | 1592 | | |
1579 | 1593 | | |
1580 | 1594 | | |
| |||
0 commit comments