mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-10-07 08:09:48 +08:00
- Match tool results against pending tool calls and downgrade unmatched results to user messages. - Prevent downgraded orphaned tool results from consuming images intended for user turns. - Unwrap protocol wrapper envelopes and extract structured text parts while preserving arbitrary business JSON. - Provide a placeholder for empty or whitespace-only tool results. Closes: #5911