Anthropic Image data support #7568
Unanswered
kamranemergent
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
in litellm/main.py => completion method =>
messages = validate_chat_completion_messages(messages=messages) => this validates the message. This further calls method validate_chat_completion_user_messages(messages: List[AllMessageValues]): ==>> in this message content type if validated. the allowed values are ValidUserMessageContentTypes = [
"text",
"image_url",
"input_audio",
]
For Anthropic, the content typoe anthropic needs for image data is "image" but that is not supported here. Am I getting something wrong? Or, LiteLLM does not supportf image data for Anthropic?
Beta Was this translation helpful? Give feedback.
All reactions