Revert "chore: enable sub agents" (#11230)

Reverts openai/codex#11173
This commit is contained in:
jif-oai
2026-02-09 20:22:38 +00:00
committed by GitHub
parent c2c6bc90f8
commit c2bfd1e473
5 changed files with 12 additions and 97 deletions

View File

@@ -81,11 +81,6 @@ async fn model_selects_expected_tools() {
"request_user_input",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
),
"codex-mini-latest should expose the local shell tool",
@@ -105,11 +100,6 @@ async fn model_selects_expected_tools() {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
),
"gpt-5-codex should expose the apply_patch tool",
@@ -129,11 +119,6 @@ async fn model_selects_expected_tools() {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
),
"gpt-5.1-codex should expose the apply_patch tool",
@@ -152,11 +137,6 @@ async fn model_selects_expected_tools() {
"request_user_input",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
),
"gpt-5 should expose the apply_patch tool",
@@ -176,11 +156,6 @@ async fn model_selects_expected_tools() {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
],
),
"gpt-5.1 should expose the apply_patch tool",
@@ -198,12 +173,7 @@ async fn model_selects_expected_tools() {
"request_user_input".to_string(),
"apply_patch".to_string(),
"web_search".to_string(),
"view_image".to_string(),
"spawn_agent".to_string(),
"send_input".to_string(),
"resume_agent".to_string(),
"wait".to_string(),
"close_agent".to_string()
"view_image".to_string()
],
"exp-5.1 should expose the apply_patch tool",
);

View File

@@ -153,11 +153,6 @@ async fn prompt_tools_are_consistent_across_requests() -> anyhow::Result<()> {
"apply_patch",
"web_search",
"view_image",
"spawn_agent",
"send_input",
"resume_agent",
"wait",
"close_agent",
]);
let body0 = req1.single_request().body_json();