mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
chore: clarify default shell for unified_exec (#8997)
The description of the `shell` arg for `exec_command` states the default is `/bin/bash`, but AFAICT it's the user's default shell. Default logic [here](https://github.com/openai/codex/blob/2a06d64bc996e4d848b95285700b195c2852a42f/codex-rs/core/src/tools/handlers/unified_exec.rs#L123). EDIT: #9004 has an alternative where we inform the model of the default shell itself.
This commit is contained in:
committed by
GitHub
Unverified
parent
31d9b6f4d2
commit
5675af5190
@@ -157,7 +157,7 @@ fn create_exec_command_tool() -> ToolSpec {
|
||||
(
|
||||
"shell".to_string(),
|
||||
JsonSchema::String {
|
||||
description: Some("Shell binary to launch. Defaults to /bin/bash.".to_string()),
|
||||
description: Some("Shell binary to launch. Defaults to the user's default shell.".to_string()),
|
||||
},
|
||||
),
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user