这是indexloc提供的服务,不要输入任何密码
Skip to content

(dart_openai 5.1.0) Broken OpenAIChatCompletionChoiceMessageContentItemModel.imageUrl #191

@gmpassos

Description

@gmpassos

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:

"image_url": {"url": "data:image/jpeg;base64,${imageBase64}"}

Could you please publish a new version? Best regards.

If you need any help with this package, let me know.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions