diff --git a/model/ollama.go b/model/ollama.go index f8b8170..c3615f9 100644 --- a/model/ollama.go +++ b/model/ollama.go @@ -21,6 +21,7 @@ type OLLaMA struct { Temperature float32 `json:"temperature"` // Temperature 0.7 TopP float32 `json:"top_p"` // TopP 0.9 MaxTokens int `json:"max_tokens"` // MaxTokens 4096 + Stream bool `json:"stream"` } // NewOLLaMA use temp 0.7, topp 0.9, maxn 4096 if you don't know the meaning.