You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
BadRequestError: litellm.BadRequestError: OpenAIException - Invalid 'messages[6]'. Image URLs are only allowed for messages with role 'user', but this message with role 'tool' contains an image URL.
The text was updated successfully, but these errors were encountered:
imeDevelopers
changed the title
his message with role 'tool' contains an image URL.
this message with role 'tool' contains an image URL.
Apr 4, 2025
Use case, the error happened directly after this request/input:
I need you to login to "https://www.example.com/login" with these credentials username "username123", password "password123" and visit the user profile and give me the description of it.
Thank you for the report! This sounds like a litellm issue actually, litellm converts the role 'tool' to 'user' for the LLMs that need it. What LLM was it?
It might be good to file a report for it to litellm.
BadRequestError: litellm.BadRequestError: OpenAIException - Invalid 'messages[6]'. Image URLs are only allowed for messages with role 'user', but this message with role 'tool' contains an image URL.
The text was updated successfully, but these errors were encountered: