clean up instructions (#22543)

rm behavioral steering in tool docs for code mode.
This commit is contained in:
sayan-oai authored and GitHub committed 2026-05-13 14:28:57 -07:00
1 parent 9798eb377a
commit 3de4d7f238
3 files changed
+10 -9

No files matched your search

+5
View File
@@ -1441,6 +1441,11 @@ async fn code_mode_only_can_expose_multi_agent_v2_as_normal_tools() {
};
assert!(!exec.description.contains("spawn_agent"));
assert!(!exec.description.contains("wait_agent"));
assert!(
!exec
.description
.contains("do not attempt to use any other tools directly")
);
let spawn_agent = find_tool(&model_visible_specs, "spawn_agent");
let ToolSpec::Function(spawn_agent) = spawn_agent else {