gemini可以单独走代理,避免全局代理。

全局代理容易让系统中其他模块也使用代理,造成无法访问的问题。
测试最新的 gemini flash 2.0可以使用。
This commit is contained in:
aileenfun
2025-03-18 00:53:03 +08:00
parent 8a066163fe
commit 2c1fc30bfb
2 changed files with 59 additions and 26 deletions
+3 -1
View File
@@ -193,7 +193,9 @@ LLM:
# token申请地址: https://aistudio.google.com/apikey
# 若部署地无法访问接口,需要开启科学上网
api_key: 你的gemini web key
model_name: "gemini-1.5-pro" # gemini-1.5-pro 是免费的
model_name: "gemini-2.0-flash"
http_proxy: "" #"http://127.0.0.1:10808"
https_proxy: "" #http://127.0.0.1:10808"
CozeLLM:
# 定义LLM API类型
type: coze