mirror of
https://github.com/openai/codex.git
synced 2026-04-29 17:06:51 +00:00
fix(core) serialize shell_command (#6744)
## Summary Ensures we're serializing calls to `shell_command` ## Testing - [x] Added unit test
This commit is contained in:
@@ -136,7 +136,7 @@ fn reserialize_shell_outputs(items: &mut [ResponseItem]) {
|
||||
}
|
||||
|
||||
fn is_shell_tool_name(name: &str) -> bool {
|
||||
matches!(name, "shell" | "container.exec")
|
||||
matches!(name, "shell" | "container.exec" | "shell_command")
|
||||
}
|
||||
|
||||
#[derive(Deserialize)]
|
||||
|
||||
Reference in New Issue
Block a user