docs: fix incorrect model.fallback to model.fallbacks in Ollama config (#9384) (#9749)

Both English and Chinese documentation had incorrect configuration template
using 'fallback' instead of 'fallbacks' in agents.defaults.model config.

Co-authored-by: damaozi <1811866786@qq.com>
main
大猫子 2026-02-06 02:56:58 +08:00 committed by GitHub
parent 1473fb19a5
commit 679bb087db
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -149,7 +149,7 @@ Once configured, all your Ollama models are available:
defaults: {
model: {
primary: "ollama/llama3.3",
fallback: ["ollama/qwen2.5-coder:32b"],
fallbacks: ["ollama/qwen2.5-coder:32b"],
},
},
},

View File

@ -156,7 +156,7 @@ export OLLAMA_API_KEY="ollama-local"
defaults: {
model: {
primary: "ollama/llama3.3",
fallback: ["ollama/qwen2.5-coder:32b"],
fallbacks: ["ollama/qwen2.5-coder:32b"],
},
},
},