mirror of
https://github.com/ollama/ollama.git
synced 2025-06-02 13:59:14 +02:00
api: fix ImageData struct comment to expect raw image bytes (#10386)
This commit is contained in:
parent
424f648632
commit
40b10eee6d
@ -76,7 +76,7 @@ type GenerateRequest struct {
|
|||||||
// this request.
|
// this request.
|
||||||
KeepAlive *Duration `json:"keep_alive,omitempty"`
|
KeepAlive *Duration `json:"keep_alive,omitempty"`
|
||||||
|
|
||||||
// Images is an optional list of base64-encoded images accompanying this
|
// Images is an optional list of raw image bytes accompanying this
|
||||||
// request, for multimodal models.
|
// request, for multimodal models.
|
||||||
Images []ImageData `json:"images,omitempty"`
|
Images []ImageData `json:"images,omitempty"`
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user