mirror of
https://github.com/openai/codex.git
synced 2026-11-14 06:48:26 +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:
1 parent
5860481bc4
commit
497fb4a19c
3 files changed
+55
-2
No files matched your search
@@ -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