We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bda1160 commit 55c6d28Copy full SHA for 55c6d28
config/provider.md
@@ -50,7 +50,7 @@ outline: deep
50
"type": "openai_chat_completion",
51
"enable": true,
52
"key": ["ollama"],
53
- "api_base": "http://localhost:11434",
+ "api_base": "http://localhost:11434/v1",
54
"model_config": {
55
"model": "llama3.1-8b"
56
}
@@ -59,6 +59,9 @@ outline: deep
59
60
ollama 的 key 默认是 ollama。
61
62
+> [!TIP]
63
+> 1. 部分模型不支持工具调用或者调用效果很差,因此您可能需要手动 /tool ls 得到所有启用的工具,并使用 /tool off 禁用
64
+
65
### Gemini
66
67
对于 Gemini,有两种配置方式。一种是使用 OpenAI 兼容的 API,即 `type` 字段为 `openai_chat_completion`。另一种是使用 Gemini 的专用 API,即 `type` 字段为 `googlegenai_chat_completion`。
0 commit comments