mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-17 21:19:36 +08:00
- Introduce logic to convert orphaned or unpaired `function_call_output` into user text instead of mismatched tool responses. - Add `buildOpenAIResponsesStandaloneToolOutputTextParts` and `appendStandaloneResponsesToolOutputAsUser` helpers for managing orphaned outputs. - Update OpenAI, Gemini, and Antigravity translators to ensure unmatched tool outputs are surfaced correctly. - Add comprehensive test cases for both Gemini and OpenAI translator workflows to validate behavior for orphan function outputs and explicit call IDs. Closes: #5831