diff options
author | terminaldweller <devi@terminaldweller.com> | 2025-09-07 01:37:20 +0000 |
---|---|---|
committer | terminaldweller <devi@terminaldweller.com> | 2025-09-07 01:37:20 +0000 |
commit | f09325dbbba591baafb5e48f60c2b5c7db8ef7cc (patch) | |
tree | 447540e644999b83d3f9d632a10976ca9e85bdfa /types.go | |
parent | some more ghost things which are WIP. added the think parameter for ollama. f... (diff) | |
download | milla-f09325dbbba591baafb5e48f60c2b5c7db8ef7cc.tar.gz milla-f09325dbbba591baafb5e48f60c2b5c7db8ef7cc.zip |
Diffstat (limited to 'types.go')
-rw-r--r-- | types.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -122,7 +122,7 @@ type TomlConfig struct { OllamaSeed int `toml:"ollamaSeed"` OllamaNumPredict int `toml:"ollamaNumPredict"` OllamaMinP float64 `toml:"ollamaMinP"` - OllamaThink bool `toml:"ollamaThink"` + OllamaThink string `toml:"ollamaThink"` TopP float32 `toml:"topP"` TopK int32 `toml:"topK"` IrcBackOffInitialInterval int `toml:"ircBackOffInitialInterval"` @@ -239,7 +239,7 @@ type OllamaChatMessagesResponse struct { type OllamaChatRequest struct { Model string `json:"model"` Stream bool `json:"stream"` - Think bool `json:"think"` + Think string `json:"think"` KeepAlive time.Duration `json:"keep_alive"` Options OllamaRequestOptions `json:"options"` System string `json:"system"` |