mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-03 22:02:08 +03:00
- Added tool_calls[].id and type:'function' to argument delta chunks so OpenAI-compatible clients can associate argument fragments with the correct tool call - Changed finish_reason from hardcoded 'stop' to 'tool_calls' when tool calls were emitted (in flush, response.completed, and final chunk) - Fixes state desync in agentic clients (OpenCode, Claude Code, etc.) where the assistant thinks tools already ran