mirror of
https://github.com/BerriAI/litellm.git
synced 2026-08-28 05:25:59 +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. |
||
|---|---|---|
| .. | ||
| audio_transcription | ||
| ocr | ||
| __init__.py | ||
| test_mistral_chat_transformation.py | ||
| test_mistral_completion.py | ||