mirror of
https://github.com/pchuan98/codex.git
synced 2026-07-01 00:31:56 +08:00
shell_command returns freeform output (#6860)
Instead of returning structured out and then re-formatting it into freeform, return the freeform output from shell_command tool. Keep `shell` as the default tool for GPT-5.
This commit is contained in:
committed by
GitHub
Unverified
parent
7e0e675db4
commit
ee0484a98c
@@ -136,7 +136,7 @@ fn reserialize_shell_outputs(items: &mut [ResponseItem]) {
|
||||
}
|
||||
|
||||
fn is_shell_tool_name(name: &str) -> bool {
|
||||
matches!(name, "shell" | "container.exec" | "shell_command")
|
||||
matches!(name, "shell" | "container.exec")
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user