-
-
Notifications
You must be signed in to change notification settings - Fork 187
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
(dart_openai 5.1.0) Broken OpenAIChatCompletionChoiceMessageContentItemModel.imageUrl
#191
Comments
FYI @anasfik |
Yup. Same issue. When are you planning on pushing this fix out? |
Any update on this or work around? |
Use openai_dart package instead. It's aligned with the latest OpenAI API. |
@anasfik any update? |
Ive created a fix and pr for this here: #198 |
I think you guys should depricate this package in favor of this @franboladoruiz @franboladoruiz
|
I am not sure why OpenAI only lists the |
The latest published version (dart_openai: 5.1.0) is incompatible with the API due to an invalid JSON payload for a chat completion message with content of type "image_url".
It appears that this bug has already been fixed in the current main branch:
openai/lib/src/core/models/chat/sub_models/choices/sub_models/sub_models/content.dart
Line 74 in 650ffbf
Could you please publish a new version? Best regards.
If you need any help with this package, let me know.
The text was updated successfully, but these errors were encountered: