This commit is contained in:
zihanjian
2025-10-29 17:14:57 +08:00
parent d6a9ffba46
commit e403a6920e
12 changed files with 290 additions and 621 deletions

View File

@@ -108,14 +108,6 @@ deepseek: # -----deepseek配置这行不填-----
show_reasoning: false # 是否在回复中显示思维过程,仅在启用思维链功能时有效
max_history_messages: 10 # <--- 添加这一行,设置 DeepSeek 最多回顾 10 条历史消息
gemini: # -----gemini配置-----
api_key: "YOUR_GOOGLE_API_KEY" # 必须
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 # 可选, 对话历史长度
aliyun_image: # -----如果要使用阿里云文生图,取消下面的注释并填写相关内容,模型到阿里云百炼找通义万相-文生图2.1-Turbo-----
enable: true # 是否启用阿里文生图功能false为关闭默认开启如果未配置则会将消息发送给聊天大模型
api_key: sk-xxxxxxxxxxxxxxxxxxxxxxxx # 替换为你的DashScope API密钥
@@ -126,15 +118,6 @@ aliyun_image: # -----如果要使用阿里云文生图,取消下面的注释
trigger_keyword: 牛阿里 # 触发词,默认为"牛阿里"
fallback_to_chat: true # 当服务不可用时是否转发给聊天模型处理
gemini_image: # -----谷歌AI画图配置这行不填-----
enable: true # 是否启用谷歌AI画图功能
api_key: # 谷歌Gemini API密钥必填
model: gemini-2.0-flash-exp-image-generation # 模型名称,建议保持默认,只有这一个模型可以进行绘画
temp_dir: ./geminiimg # 图片保存目录,可选
trigger_keyword: 牛谷歌 # 触发词,默认为"牛谷歌"
fallback_to_chat: false # 未启用时是否回退到聊天模式
proxy: http://127.0.0.1:7890 # 使用Clash代理格式为http://域名或者IP地址:端口号
perplexity: # -----perplexity配置这行不填-----
key: # 填写你的Perplexity API Key
api: https://api.perplexity.ai # API地址