mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-03 06:35:00 +08:00
- Merge buffered `tool_calls` into the latest mergeable assistant message instead of always appending a new one. - Combine deferred reasoning segments across the same assistant turn, while ignoring `[reasoning unavailable]` placeholders. - Reset merge state on role/tool-output boundaries to keep tool-call attachment behavior correct across turns. Closes: #4676