diff --git a/src-tauri/src/proxy/providers/transform_codex_chat.rs b/src-tauri/src/proxy/providers/transform_codex_chat.rs index 1edc23d70..b8bd0e1c8 100644 --- a/src-tauri/src/proxy/providers/transform_codex_chat.rs +++ b/src-tauri/src/proxy/providers/transform_codex_chat.rs @@ -1414,11 +1414,9 @@ fn chat_tool_calls_to_response_output_items( )); } } else if let Some(function_call) = message.get("function_call") { - if let Some(item) = chat_legacy_function_call_to_response_item( - function_call, - reasoning, - tool_context, - ) { + if let Some(item) = + chat_legacy_function_call_to_response_item(function_call, reasoning, tool_context) + { output.push(item); } }