Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
feat(executor): normalize OpenAI tool results for text-only compatibility models master
- Add OpenAI-compat executor-time normalization for `tool` message content, converting non-string tool results to plain text and replacing image parts with a clear unsupported marker for models configured with text-only `input-modalities`. - Apply normalization in both regular and streaming OpenAI-compat execution paths before prompt-cache processing. - Update config example to document `[text]` `input-modalities` for upstreams that reject multimodal tool-result content. Closes: #4737
Author Luis Pater Date (Aug 2, 2026, 7:37 PM UTC) Commit 13435c93 13435c93d2263fa823cfc7d1cc98db9e8b979ea3 Parent a303fd86 a303fd869b03df43d8b70cd4eb5cff44ad526715