整理了一下配置文件

This commit is contained in:
minecraft1024a
2025-08-13 21:39:23 +08:00
parent e95d105f8f
commit a8dc0937dd
3 changed files with 10 additions and 16 deletions

View File

@@ -388,7 +388,7 @@ class ActionPlanner:
# 处理自定义提示词
custom_prompt_block = ""
if global_config.chat.planner_custom_prompt_enable and global_config.chat.planner_custom_prompt_content:
if global_config.custom_prompt.planner_custom_prompt_enable and global_config.custom_prompt.planner_custom_prompt_content:
custom_prompt_block = global_config.chat.planner_custom_prompt_content
planner_prompt_template = await global_prompt_manager.get_prompt_async("planner_prompt")