diff --git a/internal/plugin/howami.go b/internal/plugin/howami.go index 056109d..f478a57 100644 --- a/internal/plugin/howami.go +++ b/internal/plugin/howami.go @@ -184,6 +184,7 @@ func callOllama(host, model, prompt string) (string, error) { "model": model, "prompt": prompt, "stream": false, + "think": false, "options": map[string]interface{}{ "num_ctx": 8192, }, diff --git a/internal/plugin/llm_passive.go b/internal/plugin/llm_passive.go index 0681efa..60c8d2b 100644 --- a/internal/plugin/llm_passive.go +++ b/internal/plugin/llm_passive.go @@ -481,6 +481,7 @@ type ollamaRequest struct { Model string `json:"model"` Prompt string `json:"prompt"` Stream bool `json:"stream"` + Think bool `json:"think"` } // ollamaResponse is the response from the Ollama API. diff --git a/internal/plugin/wotd.go b/internal/plugin/wotd.go index 2809e4e..e284d7c 100644 --- a/internal/plugin/wotd.go +++ b/internal/plugin/wotd.go @@ -318,6 +318,7 @@ Respond with ONLY "yes" or "no".`, message, word) "model": model, "prompt": prompt, "stream": false, + "think": false, } data, err := json.Marshal(payload) if err != nil {