根据开发组建议重命名,移除多余的Prompt后缀

This commit is contained in:
UnCLAS-Prommer
2026-02-02 21:10:39 +08:00
parent b793a3d62b
commit 74b852dd8b
38 changed files with 27 additions and 27 deletions

View File

@@ -224,7 +224,7 @@ async def run_dream_agent_once(
tool_registry = get_dream_tool_registry()
tool_defs = tool_registry.get_tool_definitions()
head_prompt_template = prompt_manager.get_prompt("dream_react_head_prompt")
head_prompt_template = prompt_manager.get_prompt("dream_react_head")
head_prompt_template.add_context("bot_name", global_config.bot.nickname)
head_prompt_template.add_context("time_now", time.strftime("%Y-%m-%d %H:%M:%S", time.localtime()))
head_prompt_template.add_context("chat_id", chat_id)