整理了一下配置文件

This commit is contained in:
minecraft1024a
2025-08-13 21:39:23 +08:00
committed by Windpicker-owo
parent c9124a155a
commit 1b1799e3c1
3 changed files with 10 additions and 16 deletions

View File

@@ -394,7 +394,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")