-
Notifications
You must be signed in to change notification settings - Fork 1.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Issue submitting image query with base64 data #1555
Comments
@sambecker the AI SDK automatically injects the |
@lucasishuman this error is a |
Removing it got it working! Might be nice to make the API resilient to those prefixes given that they're supported in older versions of the spec? And expected in other instances like in |
Probably similar: #1505 |
|
Hehehe I told you that was controversial! Glad to see it solved. |
Description
Getting errors when submitting a base64-encoded image as part of a
StreamUI
query.Code example
Old SDK call, which still works:
New SDK call, which errors:
Error:
Additional context
Base64 data:
The text was updated successfully, but these errors were encountered: