From 580f6e13f4c223c6d558d25bda597aa5b3d91d54 Mon Sep 17 00:00:00 2001 From: Bakadax Date: Sat, 3 May 2025 19:04:57 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0ENV=E6=A8=A1=E6=9D=BF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/template.env | 18 +++++++++++++++--- 1 file changed, 15 insertions(+), 3 deletions(-) diff --git a/template/template.env b/template/template.env index c1a6dd0d..11b418b8 100644 --- a/template/template.env +++ b/template/template.env @@ -18,16 +18,28 @@ DATABASE_NAME=MegBot # MONGODB_PASSWORD=password # MONGODB_AUTH_SOURCE=admin +# 配置代理信息 +PROXY_HOST=127.0.0.1 +PROXY_PORT=7890 +# 如果 PROXY_MODELS 包含特殊字符或空格,最好用引号括起来,使用英文逗号分割 +PROXY_MODELS="gemini-2.0-flash" + #key and url -CHAT_ANY_WHERE_BASE_URL=https://api.chatanywhere.tech/v1 +CHAT_ANY_WHERE_BASE_URL=https://api.chatanywhere.tech/v1/ SILICONFLOW_BASE_URL=https://api.siliconflow.cn/v1/ -DEEP_SEEK_BASE_URL=https://api.deepseek.com/v1 +DEEP_SEEK_BASE_URL=https://api.deepseek.com/v1/ +GEMINI_BASE_URL=https://generativelanguage.googleapis.com/v1beta/models # 定义你要用的api的key(需要去对应网站申请哦) DEEP_SEEK_KEY= CHAT_ANY_WHERE_KEY= SILICONFLOW_KEY= - +GEMINI_KEY='[ + "KEY1", + "KEY2", + "KEY3" +]' +abandon_GEMINI_KEY='[]' # 定义日志相关配置 # 精简控制台输出格式