diff options
| author | Xe Iaso <me@xeiaso.net> | 2023-12-14 22:54:32 -0500 |
|---|---|---|
| committer | Xe Iaso <me@xeiaso.net> | 2024-01-30 18:28:29 -0500 |
| commit | 15eb817e4ca36a6240b6beacbeff455fc7e78e3c (patch) | |
| tree | 83f963487e57658155026ddf9e522a19bda970ca /web/ollama | |
| parent | aa123ba1985912ec54211284c4ed4a569e1ae864 (diff) | |
| download | x-15eb817e4ca36a6240b6beacbeff455fc7e78e3c.tar.xz x-15eb817e4ca36a6240b6beacbeff455fc7e78e3c.zip | |
llm: add multillm package
Signed-off-by: Xe Iaso <me@xeiaso.net>
Diffstat (limited to 'web/ollama')
| -rw-r--r-- | web/ollama/ollama.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/web/ollama/ollama.go b/web/ollama/ollama.go index 0f479cc..eca0439 100644 --- a/web/ollama/ollama.go +++ b/web/ollama/ollama.go @@ -31,7 +31,7 @@ type Message struct { type CompleteRequest struct { Model string `json:"model"` - Messages Message `json:"messages"` + Messages []Message `json:"messages"` Format *string `json:"format,omitempty"` Template *string `json:"template,omitempty"` Stream bool `json:"stream,omitempty"` |
