diff --git a/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py b/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py index ed49943b7fe..14c67986b06 100644 --- a/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py +++ b/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py @@ -480,7 +480,14 @@ class LiteLLMAnthropicMessagesAdapter: tool_call_id=content.get( "tool_use_id", "" ), - content=openai_image_url, + content=[ + ChatCompletionImageObject( + type="image_url", + image_url=ChatCompletionImageUrlObject( + url=openai_image_url + ), + ) + ], ) self._add_cache_control_if_applicable( content, tool_result, model