diff options
| author | Dmitry Vyukov <dvyukov@google.com> | 2026-01-20 16:07:06 +0100 |
|---|---|---|
| committer | Dmitry Vyukov <dvyukov@google.com> | 2026-01-21 13:38:45 +0000 |
| commit | 42b96d8b5320697eba2adb686c3206f1d50e14a2 (patch) | |
| tree | aa5dc57eb3cac1ff21d2ddb1f8965ecfa5fbbd4b /pkg/codesearch/testdata/query-def-source-struct0 | |
| parent | cb6c392c6d56f142bdfe88cd3fa4cdc8f036b460 (diff) | |
pkg/aflow: inject tool errors into trajectory
Currently we handle several errors in LLMAgent (wrong tool name,
wrong tool arguments), and return the error to LLM,
but nothing is injected into the trajectory wrt what happened.
This makes trajectory incomplete and confusing,
one just sees repeated LLM calls w/o understanding what caused them.
Inject these tool failures into the trace, so that it's clear
what happened.
Diffstat (limited to 'pkg/codesearch/testdata/query-def-source-struct0')
0 files changed, 0 insertions, 0 deletions
