fix(models): preserve preset rename compatibility

This commit is contained in:
Xubin Ren
2026-08-16 11:50:56 +08:00
parent a956fe1d60
commit 0a6ee1c539
20 changed files with 307 additions and 46 deletions
+2 -3
View File
@@ -179,8 +179,7 @@ Merge this preset into `~/.nanobot/config.json` and select it:
}
},
"modelPresets": {
"ollamaPrefixStable": {
"label": "Ollama Llama 3.1 prefix-stable",
"Ollama Llama 3.1 prefix-stable": {
"provider": "ollama",
"model": "llama3.1:8b-prefix-stable-v1",
"maxTokens": 2048,
@@ -190,7 +189,7 @@ Merge this preset into `~/.nanobot/config.json` and select it:
},
"agents": {
"defaults": {
"modelPreset": "ollamaPrefixStable"
"modelPreset": "Ollama Llama 3.1 prefix-stable"
}
}
}