The agent that grows with you
Python aiai-agentai-agentsanthropicchatgptclaudeclaude-codecodexhermeshermes-agentllmnous-researchopenai
docs: align Ollama tool-calling guidance
mzkarami9eec86923c77
diff --git a/website/docs/guides/local-ollama-setup.md b/website/docs/guides/local-ollama-setup.mdindex d104573472a..5136cf5f71f 100644--- a/website/docs/guides/local-ollama-setup.md+++ b/website/docs/guides/local-ollama-setup.md@@ -289,9 +289,9 @@ What helps:### Model doesn't follow tool calls-Smaller models (3B, 7B) sometimes ignore tool-call instructions and produce plain text instead of structured function calls. Solutions:+Models without tool-call support produce plain text instead of structured function calls. Solutions:-- **Use a bigger model** — `gemma4:31b` or `gemma2:27b` handle tool calls much better than 3B/7B models.+- **Use a model with tool-call support** — of the models listed above, only `gemma4:31b` has reliable tool calling.- **Hermes has auto-repair** — it detects malformed tool calls and attempts to fix them automatically.- **Set up a fallback** — if the local model fails 3 times, Hermes falls back to a cloud provider.diff --git a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/local-ollama-setup.md b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/local-ollama-setup.mdindex 06ea18fbb11..7ceea2c36e9 100644--- a/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/local-ollama-setup.md+++ b/website/i18n/zh-Hans/docusaurus-plugin-content-docs/current/guides/local-ollama-setup.md@@ -278,9 +278,9 @@ ollama serve### 模型不遵循工具调用-较小的模型(3B、7B)有时会忽略工具调用指令,输出纯文本而非结构化的函数调用。解决方案:+不支持工具调用的模型会输出纯文本,而非结构化的函数调用。解决方案:-- **使用更大的模型** —— `gemma4:31b` 或 `gemma2:27b` 处理工具调用的能力远优于 3B/7B 模型。+- **使用支持工具调用的模型** —— 在上面列出的模型中,只有 `gemma4:31b` 具备可靠的工具调用能力。- **Hermes 具备自动修复功能** —— 它能检测格式错误的工具调用并自动尝试修复。- **设置回退方案** —— 如果本地模型连续失败 3 次,Hermes 将回退到云端提供商。