mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-20 22:22:57 +03:00
An OpenAI-style role:"tool" message carrying structured/array content was
collapsing to content:[{ text: "" }], which CodeWhisperer rejects with
400 'Improperly formed request'. Reuse serializeToolResultContent (already used
by the Anthropic tool_result path) so structured output is never empty.