fix: export Image model

Allows construction of `Message(..., images=Image(value=...))` without having to import from `._types`
This commit is contained in:
Aarni Koskela 2024-12-17 13:31:25 +02:00
parent 70dd0b7e63
commit 9057705bc0

View File

@ -2,6 +2,7 @@ from ollama._client import Client, AsyncClient
from ollama._types import (
Options,
Message,
Image,
Tool,
GenerateResponse,
ChatResponse,
@ -21,6 +22,7 @@ __all__ = [
'AsyncClient',
'Options',
'Message',
'Image',
'Tool',
'GenerateResponse',
'ChatResponse',