refactor: refactor the prompt management mechanism (#17)

This commit is contained in:
DanielWalnut
2025-05-09 15:50:46 +08:00
committed by GitHub
parent 091f437bc5
commit 97a15dce36
16 changed files with 32 additions and 42 deletions

View File

@@ -21,7 +21,7 @@ def ppt_composer_node(state: PPTState):
model = get_llm_by_type(AGENT_LLM_MAP["ppt_composer"])
ppt_content = model.invoke(
[
SystemMessage(content=get_prompt_template("ppt_composer")),
SystemMessage(content=get_prompt_template("ppt/ppt_composer")),
HumanMessage(content=state["input"]),
],
)