From 92930461b7352c9ec946d558df624047aec21a83 Mon Sep 17 00:00:00 2001 From: Jason Date: Mon, 22 Jun 2026 10:59:09 +0800 Subject: [PATCH] style(proxy): apply rustfmt wrapping to legacy function_call branch CI cargo fmt --check failed on transform_codex_chat.rs (the wrapping introduced upstream did not match rustfmt 1.95.0). Apply cargo fmt so the chat_legacy_function_call_to_response_item call uses the expected layout. --- src-tauri/src/proxy/providers/transform_codex_chat.rs | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) 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); } }