mirror of
https://github.com/openai/codex.git
synced 2026-11-13 14:46:14 +00:00
clean up instructions (#22543)
rm behavioral steering in tool docs for code mode.
This commit is contained in:
1 parent
9798eb377a
commit
3de4d7f238
3 files changed
+10
-9
No files matched your search
@@ -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 {
|
||||
|
||||
Reference in new issue
Block a user