agent tools namespaced and legacy aliases preserved

This commit is contained in:
Friel
2026-03-31 22:09:55 +00:00
parent 9a8730f31e
commit 4fd857d856
9 changed files with 179 additions and 221 deletions

View File

@@ -122,8 +122,8 @@ async fn tool_suggest_is_available_without_search_tool_after_discovery_attempts(
let body = mock.single_request().body_json();
let tools = tool_names(&body);
assert!(
!tools.iter().any(|name| name == TOOL_SEARCH_TOOL_NAME),
"tools list should not include {TOOL_SEARCH_TOOL_NAME}: {tools:?}"
tools.iter().any(|name| name == TOOL_SEARCH_TOOL_NAME),
"tools list should include {TOOL_SEARCH_TOOL_NAME}: {tools:?}"
);
assert!(
tools.iter().any(|name| name == TOOL_SUGGEST_TOOL_NAME),