mirror of
https://github.com/Zippland/Bubbles.git
synced 2026-03-03 08:34:42 +08:00
双模式
This commit is contained in:
@@ -92,7 +92,8 @@ weather: # -----天气提醒配置这行不填-----
|
||||
chatgpt: # -----chatgpt配置这行不填-----
|
||||
key: # 填写你 ChatGPT 的 key
|
||||
api: https://api.openai.com/v1 # 如果你不知道这是干嘛的,就不要改
|
||||
model: gpt-3.5-turbo # 可选:gpt-3.5-turbo、gpt-4、gpt-4-turbo、gpt-4.1-mini、o4-mini
|
||||
model_flash: gpt-3.5-turbo # 快速回复模型(可选)
|
||||
model_reasoning: gpt-3.5-turbo # 深度思考模型(可选)
|
||||
proxy: # 如果你在国内,你可能需要魔法,大概长这样:http://域名或者IP地址:端口号
|
||||
prompt: 你是智能聊天机器人,你叫 wcferry # 根据需要对角色进行设定
|
||||
max_history_messages: 20 # <--- 添加这一行,设置 ChatGPT 最多回顾 20 条历史消息
|
||||
@@ -101,7 +102,8 @@ deepseek: # -----deepseek配置这行不填-----
|
||||
#思维链相关功能默认关闭,开启后会增加响应时间和消耗更多的token
|
||||
key: # 填写你的 DeepSeek API Key API Key的格式为sk-xxxxxxxxxxxxxxx
|
||||
api: https://api.deepseek.com # DeepSeek API 地址
|
||||
model: deepseek-chat # 可选: deepseek-chat (DeepSeek-V3), deepseek-reasoner (DeepSeek-R1)
|
||||
model_flash: deepseek-chat # 快速回复模型
|
||||
model_reasoning: deepseek-reasoner # 深度思考模型
|
||||
prompt: 你是智能聊天机器人,你叫 DeepSeek 助手 # 根据需要对角色进行设定
|
||||
enable_reasoning: false # 是否启用思维链功能,仅在使用 deepseek-reasoner 模型时有效
|
||||
show_reasoning: false # 是否在回复中显示思维过程,仅在启用思维链功能时有效
|
||||
@@ -109,7 +111,8 @@ deepseek: # -----deepseek配置这行不填-----
|
||||
|
||||
gemini: # -----gemini配置-----
|
||||
api_key: "YOUR_GOOGLE_API_KEY" # 必须
|
||||
model_name: "gemini-1.5-pro-latest" # 可选, 默认是 "gemini-1.5-pro-latest"
|
||||
model_flash: "gemini-1.5-pro-latest" # 快速回复模型(可选)
|
||||
model_reasoning: "gemini-1.5-pro-latest" # 深度思考模型(可选)
|
||||
prompt: "你是一个AI助手,请用通俗易懂的语言回答用户的问题。" # 可选
|
||||
proxy: "http://127.0.0.1:7890" # 可选, 代理地址
|
||||
max_history_messages: 20 # 可选, 对话历史长度
|
||||
@@ -137,7 +140,8 @@ perplexity: # -----perplexity配置这行不填-----
|
||||
key: # 填写你的Perplexity API Key
|
||||
api: https://api.perplexity.ai # API地址
|
||||
proxy: # 如果你在国内,你可能需要魔法,大概长这样:http://域名或者IP地址:端口号
|
||||
model: mixtral-8x7b-instruct # 可选模型包括:sonar-small-chat, sonar-medium-chat, sonar-pro, mixtral-8x7b-instruct等
|
||||
model_flash: mixtral-8x7b-instruct # 快速回复模型(可选)
|
||||
model_reasoning: mixtral-8x7b-instruct # 深度思考模型(可选)
|
||||
prompt: 你是Perplexity AI助手,请用专业、准确、有帮助的方式回答问题 # 角色设定
|
||||
trigger_keyword: ask # 触发Perplexity服务的前置词
|
||||
allow_all: false # 是否允许所有群聊和用户使用Perplexity,设为true时忽略下面的白名单配置
|
||||
@@ -146,4 +150,4 @@ perplexity: # -----perplexity配置这行不填-----
|
||||
|
||||
ai_router: # -----AI路由器配置-----
|
||||
enable: true # 是否启用AI路由功能
|
||||
allowed_groups: [] # 允许使用AI路由的群聊ID列表,例如:["123456789@chatroom", "123456789@chatroom"]
|
||||
allowed_groups: [] # 允许使用AI路由的群聊ID列表,例如:["123456789@chatroom", "123456789@chatroom"]
|
||||
|
||||
Reference in New Issue
Block a user