aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/codesearch/testdata/query-dir-index-escaping
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2026-01-19 15:15:18 +0100
committerDmitry Vyukov <dvyukov@google.com>2026-01-20 21:12:57 +0000
commit5b6bebdcb7da46d1471b3aeacb28b54ba905b3b2 (patch)
treed60fdce83c9b47fb39327f0bdc40b734a7213985 /pkg/codesearch/testdata/query-dir-index-escaping
parent8088ac4199a6e947c38db669c11d4441a9d59581 (diff)
pkg/aflow: add BadCallError
The error allows tools to communicate that an error is not an infrastructure error that must fail the whole workflow, but rather a bad tool invocation by an LLM (e.g. asking for a non-existent file contents). Previously in the codesearcher tool we used a separate Missing bool to communicate that. With the error everything just becomes cleaner and nicer. The errors also allows all other tools to communicate any errors to the LLM when the normal results cannot be provided and don't make sense.
Diffstat (limited to 'pkg/codesearch/testdata/query-dir-index-escaping')
-rw-r--r--pkg/codesearch/testdata/query-dir-index-escaping2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/codesearch/testdata/query-dir-index-escaping b/pkg/codesearch/testdata/query-dir-index-escaping
index fd7b55ff0..f57f0eb82 100644
--- a/pkg/codesearch/testdata/query-dir-index-escaping
+++ b/pkg/codesearch/testdata/query-dir-index-escaping
@@ -1,3 +1,3 @@
dir-index mm/../../
-not found
+path is outside of the source tree