better: 优化模型配置和mood

This commit is contained in:
SengokuCola
2025-09-13 22:08:29 +08:00
parent 43ac8bee02
commit 9c4681805f
4 changed files with 29 additions and 39 deletions

View File

@@ -1,5 +1,5 @@
[inner]
version = "1.6.0"
version = "1.7.0"
# 配置文件版本号迭代规则同bot_config.toml
@@ -12,14 +12,14 @@ max_retry = 2 # 最大重试次数单个模型API
timeout = 30 # API请求超时时间单位
retry_interval = 10 # 重试间隔时间(单位:秒)
[[api_providers]] # SiliconFlow的API服务商配置
name = "SiliconFlow"
base_url = "https://api.siliconflow.cn/v1"
api_key = "your-siliconflow-api-key"
[[api_providers]] # 阿里 百炼 API服务商配置
name = "BaiLian"
base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1"
api_key = "your-bailian-key"
client_type = "openai"
max_retry = 2
timeout = 30
retry_interval = 10
timeout = 15
retry_interval = 5
[[api_providers]] # 特殊Google的Gimini使用特殊API与OpenAI格式不兼容需要配置client为"gemini"
name = "Google"
@@ -30,14 +30,14 @@ max_retry = 2
timeout = 30
retry_interval = 10
[[api_providers]] # 阿里 百炼 API服务商配置
name = "BaiLian"
base_url = "https://dashscope.aliyuncs.com/compatible-mode/v1"
api_key = "your-bailian-key"
[[api_providers]] # SiliconFlow的API服务商配置
name = "SiliconFlow"
base_url = "https://api.siliconflow.cn/v1"
api_key = "your-siliconflow-api-key"
client_type = "openai"
max_retry = 2
timeout = 15
retry_interval = 5
timeout = 60
retry_interval = 10
[[models]] # 模型(可以配置多个)
@@ -93,8 +93,8 @@ price_in = 0
price_out = 0
[model_task_config.utils] # 在麦麦的一些组件中使用的模型,例如表情包模块,取名模块,关系模块,是麦麦必须的模型
model_list = ["siliconflow-deepseek-v3"] # 使用的模型列表,每个子项对应上面的模型名称(name)
[model_task_config.utils] # 在麦麦的一些组件中使用的模型,例如表情包模块,取名模块,关系模块,麦麦的情绪变化等,是麦麦必须的模型
model_list = ["siliconflow-deepseek-v3","qwen3-30b"] # 使用的模型列表,每个子项对应上面的模型名称(name)
temperature = 0.2 # 模型温度新V3建议0.1-0.3
max_tokens = 800 # 最大输出token数
@@ -103,6 +103,11 @@ model_list = ["qwen3-8b","qwen3-30b"]
temperature = 0.7
max_tokens = 800
[model_task_config.tool_use] #工具调用模型,需要使用支持工具调用的模型
model_list = ["qwen3-30b"]
temperature = 0.7
max_tokens = 800
[model_task_config.replyer] # 首要回复模型,还用于表达器和表达方式学习
model_list = ["siliconflow-deepseek-v3"]
temperature = 0.3 # 模型温度新V3建议0.1-0.3
@@ -113,11 +118,6 @@ model_list = ["siliconflow-deepseek-v3"]
temperature = 0.3
max_tokens = 800
[model_task_config.emotion] #负责麦麦的情绪变化
model_list = ["qwen3-30b"]
temperature = 0.7
max_tokens = 800
[model_task_config.vlm] # 图像识别模型
model_list = ["qwen2.5-vl-72b"]
max_tokens = 800
@@ -125,11 +125,6 @@ max_tokens = 800
[model_task_config.voice] # 语音识别模型
model_list = ["sensevoice-small"]
[model_task_config.tool_use] #工具调用模型,需要使用支持工具调用的模型
model_list = ["qwen3-30b"]
temperature = 0.7
max_tokens = 800
#嵌入模型
[model_task_config.embedding]
model_list = ["bge-m3"]