mirror of
https://github.com/openai/codex.git
synced 2026-04-28 00:25:56 +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:
@@ -112,7 +112,7 @@ impl ToolCallRuntime {
|
||||
|
||||
fn abort_message(call: &ToolCall, secs: f32) -> String {
|
||||
match call.tool_name.as_str() {
|
||||
"shell" | "container.exec" | "local_shell" | "unified_exec" => {
|
||||
"shell" | "container.exec" | "local_shell" | "shell_command" | "unified_exec" => {
|
||||
format!("Wall time: {secs:.1} seconds\naborted by user")
|
||||
}
|
||||
_ => format!("aborted by user after {secs:.1}s"),
|
||||
|
||||
Reference in New Issue
Block a user