Open weareturnone opened 4 months ago
Which model are you using? Are you sure you are on the latest commit? I created this pull request last week that solves exactly the issue you are facing.
If you are using Anthropic images must be less than 5mb but works best when under 400kb. Best to compresd/re-size prior to upload, that should fix your issue.
I encountered the same issue. On the official site https://www.chatbotui.com/, the same problem occurs with gpt-4o and gpt-4-turbo. There was no issue with gpt-4-vision.
On the OpenAI site, you can upload images without any problem even if you select the gpt-4o model.
https://github.com/mckaywrigley/chatbot-ui/issues/1773
This is what i did to fix this for myself
Hey there, uploading images does not work anymore. PDF, Docx etc. does work fine. I have changed nothing, it stopped working after updating chatbotui two days ago.
Error image:
400 Invalid type for 'messages[1].content[1].image_url': expected an object, but got a string instead.