Skip to content
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

fix: export Image model #384

Merged
merged 1 commit into from
Dec 17, 2024
Merged

fix: export Image model #384

merged 1 commit into from
Dec 17, 2024

Conversation

akx
Copy link
Contributor

@akx akx commented Dec 17, 2024

Allows construction of Message(..., images=Image(value=...)) without having to import from ._types.

Note that using Image() currently fails serialization due to a different bug (see #386).

Allows construction of `Message(..., images=Image(value=...))` without having to import from `._types`
@mxyng mxyng merged commit 4daf4af into ollama:main Dec 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants