feat(config): 为小脑(sub-planner)新增独立模型和尺寸配置

为“小脑”(sub-planner)引入了独立的模型配置`planner_small`,使其可以与主planner(大脑)使用不同的、更轻量的模型,以提升并行处理性能。

同时,新增了`planner_size`配置项,用于控制每个小脑处理的action数量,允许用户根据需求调整并行度和单个小脑的上下文窗口。

- 在`model_config.toml`中添加`planner_small`任务配置
- 在`bot_config.toml`中添加`planner_size`参数
- 更新代码以使用新的配置项,并移除了相关的硬编码和TODO注释
This commit is contained in:
minecraft1024a
2025-09-06 17:14:32 +08:00
committed by Windpicker-owo
parent c925577a08
commit 8894e5fadb
5 changed files with 15 additions and 7 deletions

View File

@@ -1,5 +1,5 @@
[inner]
version = "1.3.0"
version = "1.3.1"
# 配置文件版本号迭代规则同bot_config.toml
@@ -142,6 +142,11 @@ model_list = ["siliconflow-deepseek-v3"]
temperature = 0.3
max_tokens = 800
[model_task_config.planner_small] #决策小脑负责决定具体action的模型建议使用速度快的小模型
model_list = ["qwen3-30b"]
temperature = 0.5
max_tokens = 800
[model_task_config.emotion] #负责麦麦的情绪变化
model_list = ["siliconflow-deepseek-v3"]
temperature = 0.3