aboutsummaryrefslogtreecommitdiff
path: root/web/ollama
diff options
context:
space:
mode:
authorXe Iaso <me@xeiaso.net>2023-12-14 22:54:32 -0500
committerXe Iaso <me@xeiaso.net>2024-01-30 18:28:29 -0500
commit15eb817e4ca36a6240b6beacbeff455fc7e78e3c (patch)
tree83f963487e57658155026ddf9e522a19bda970ca /web/ollama
parentaa123ba1985912ec54211284c4ed4a569e1ae864 (diff)
downloadx-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.go2
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"`