mirror of
https://github.com/kharonsec/ollama-python
synced 2026-05-09 16:42:13 +02:00
fix: export Image model
Allows construction of `Message(..., images=Image(value=...))` without having to import from `._types`
This commit is contained in:
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user