mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-06 02:48:13 +00:00
Images nested inside an Anthropic `tool_result` block were dropped when the request was adapted for an OpenAI-compatible provider, because the OpenAI tool message shape only carried text. Hoist those images out of the tool result and into a following user message so the model can still see them, and widen the tool message content type to accept image parts. |
||
|---|---|---|
| .. | ||
| test_azure_base_model_routing.py | ||
| test_azure_chat_gpt_transformation.py | ||
| test_azure_chat_o_series_transformation.py | ||
| test_azure_gpt5_transformation.py | ||