diff --git a/codex-rs/core/src/openai_tools.rs b/codex-rs/core/src/openai_tools.rs index 13b4e6d4be..e49a7ab406 100644 --- a/codex-rs/core/src/openai_tools.rs +++ b/codex-rs/core/src/openai_tools.rs @@ -581,25 +581,25 @@ pub(crate) fn get_openai_tools( ) -> Vec { let mut tools: Vec = Vec::new(); - match &config.shell_type { - ConfigShellToolType::DefaultShell => { - tools.push(create_shell_tool()); - } - ConfigShellToolType::ShellWithRequest { sandbox_policy } => { - tools.push(create_shell_tool_for_sandbox(sandbox_policy)); - } - ConfigShellToolType::LocalShell => { - tools.push(OpenAiTool::LocalShell {}); - } - ConfigShellToolType::StreamableShell => { - tools.push(OpenAiTool::Function( - crate::exec_command::create_exec_command_tool_for_responses_api(), - )); - tools.push(OpenAiTool::Function( - crate::exec_command::create_write_stdin_tool_for_responses_api(), - )); - } - } + // match &config.shell_type { + // ConfigShellToolType::DefaultShell => { + // tools.push(create_shell_tool()); + // } + // ConfigShellToolType::ShellWithRequest { sandbox_policy } => { + // tools.push(create_shell_tool_for_sandbox(sandbox_policy)); + // } + // ConfigShellToolType::LocalShell => { + // tools.push(OpenAiTool::LocalShell {}); + // } + // ConfigShellToolType::StreamableShell => { + // tools.push(OpenAiTool::Function( + // crate::exec_command::create_exec_command_tool_for_responses_api(), + // )); + // tools.push(OpenAiTool::Function( + // crate::exec_command::create_write_stdin_tool_for_responses_api(), + // )); + // } + // } tools.push(create_unified_exec_tool());