Commit 3bbbd31
refactor: use ToolResult.get_serialized_output() for context messages
Use the new get_serialized_output() method from amplifier-core to
properly serialize tool results for LLM context. This ensures structured
outputs (like bash tool's stdout/stderr/returncode dict) are JSON-
serialized rather than using Python repr format.
🤖 Generated with [Amplifier](https://github.com/microsoft/amplifier)
Co-Authored-By: Amplifier <240397093+microsoft-amplifier@users.noreply.github.com>1 parent 774d036 commit 3bbbd31
1 file changed
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
310 | 310 | | |
311 | 311 | | |
312 | 312 | | |
313 | | - | |
314 | | - | |
315 | | - | |
316 | | - | |
| 313 | + | |
| 314 | + | |
317 | 315 | | |
318 | 316 | | |
319 | 317 | | |
| |||
0 commit comments