We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 7820775 commit 9211184Copy full SHA for 9211184
config/provider.md
@@ -70,6 +70,28 @@ ollama 的 key 默认是 ollama。
70
71
如果你正在使用某些反代项目以在中国大陆使用 Gemini,它们可能不会提供 OpenAI 兼容的API,这时候就需要使用 `gemini(googlegenai原生)`。
72
73
+以第二种方式为例,
74
+
75
+打开 https://aistudio.google.com/app/apikey
76
77
+首次注册会出现以下页面,选择 Get API key
78
79
+
80
81
+然后复制生成的 Key 即可。
82
83
+回到 AstrBot,在配置->服务提供商配置处点击 + 号,选择:
84
85
+
86
87
+粘贴复制的 Key。
88
89
+然后,如果您的网络环境在国内,可能需要在 其他配置->HTTP 代理 配置代理才能正常访问。或者,可以暂时使用这个反代:
90
91
+https://dynamic-halva-76bb38.netlify.app/
92
93
+即在 API Base 处填写上面这个链接即可。
94
95
```json
96
{
97
"id": "gemini_default",
source/images/provider/image-4.png
176 KB
source/images/provider/image-5.png
144 KB
0 commit comments