aboutsummaryrefslogtreecommitdiffstats
path: root/defaults.go
diff options
context:
space:
mode:
authorterminaldweller <devi@terminaldweller.com>2025-09-07 01:37:20 +0000
committerterminaldweller <devi@terminaldweller.com>2025-09-07 01:37:20 +0000
commitf09325dbbba591baafb5e48f60c2b5c7db8ef7cc (patch)
tree447540e644999b83d3f9d632a10976ca9e85bdfa /defaults.go
parentsome more ghost things which are WIP. added the think parameter for ollama. f... (diff)
downloadmilla-f09325dbbba591baafb5e48f60c2b5c7db8ef7cc.tar.gz
milla-f09325dbbba591baafb5e48f60c2b5c7db8ef7cc.zip
fixed the type of OllamaThink. change to string from bool.HEADmain
Diffstat (limited to 'defaults.go')
-rw-r--r--defaults.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/defaults.go b/defaults.go
index 60217ae..b81cfc0 100644
--- a/defaults.go
+++ b/defaults.go
@@ -132,4 +132,8 @@ func AddSaneDefaults(config *TomlConfig) {
if config.DbBackOffMaxInterval == 0 {
config.DbBackOffMaxInterval = 60
}
+
+ if config.OllamaThink == "" {
+ config.OllamaThink = "false"
+ }
}