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
I attached two .txt documents to send to Claude as context for the prompt. It throws an error where it looks like bolt only allows image attachments. It should allow the same file types to be attached as what you can attach on the Claude web page, I would assume.
ERROR api.chat AI_APICallError: messages.2.content.1.image.source.base64.media_type: Input should be 'image/jpeg', 'image/png', 'image/gif' or 'image/webp'
You are right, at the moment, as far as I see, thats a general implemenation for all chats, instead of per Model and we just support images.
I dont see a reason why we should not support other attachments as well, so added it as enhancement/feature.
Describe the bug
I attached two .txt documents to send to Claude as context for the prompt. It throws an error where it looks like bolt only allows image attachments. It should allow the same file types to be attached as what you can attach on the Claude web page, I would assume.
ERROR api.chat AI_APICallError: messages.2.content.1.image.source.base64.media_type: Input should be 'image/jpeg', 'image/png', 'image/gif' or 'image/webp'
Link to the Bolt URL that caused the error
http://localhost:xxxx
Steps to reproduce
Expected behavior
I would assume that the attachments shouldn't be limited to only images and that a .txt file should be able to be sent to the Claude API
Screen Recording / Screenshot
No response
Platform
Provider Used
No response
Model Used
No response
Additional context
No response
The text was updated successfully, but these errors were encountered: