mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-27 07:44:48 +08:00
refactor: refactor the prompt management mechanism (#17)
This commit is contained in:
@@ -22,7 +22,7 @@ def script_writer_node(state: PodcastState):
|
||||
).with_structured_output(Script, method="json_mode")
|
||||
script = model.invoke(
|
||||
[
|
||||
SystemMessage(content=get_prompt_template("podcast_script_writer")),
|
||||
SystemMessage(content=get_prompt_template("podcast/podcast_script_writer")),
|
||||
HumanMessage(content=state["input"]),
|
||||
],
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user