mirror of
https://github.com/openai/codex.git
synced 2026-11-03 00:21:31 +00:00
Use codex-utils-template for search tool descriptions (#15996)
This commit is contained in:
1 parent
37b057f003
commit
f044ca64df
2 files changed
+28
-8
No files matched your search
@@ -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");
|
||||
|
||||
Reference in new issue
Block a user