Use codex-utils-template for search tool descriptions (#15996)

This commit is contained in:
jif-oai authored and GitHub committed 2026-03-27 15:08:24 +01:00
1 parent 37b057f003
commit f044ca64df
2 files changed
+28 -8

No files matched your search

+1
View File
@@ -2242,6 +2242,7 @@ fn tool_suggest_description_lists_discoverable_tools() {
"Apply the stricter explicit-and-unambiguous rule for *discoverable tools* like plugin install suggestions; *missing tools* like connector install suggestions continue to use the normal clear-fit standard."
));
assert!(description.contains("DO NOT explore or recommend tools that are not on this list."));
assert!(!description.contains("{{discoverable_tools}}"));
assert!(!description.contains("tool_search fails to find a good match"));
let JsonSchema::Object { required, .. } = parameters else {
panic!("expected object parameters");