name: "Local Test Flow"
# 关键:这行会让执行器去本地搜寻并装载 prompts,而不是去后端取
prompts: [ "./*.jgprompt" ]
entry: [init]
exit: [final_chat]
[init]: notify(status="🚀 准备本地模板...")
[prepare_msg]: p(
slug="test", # 对应本地 test.jgprompt
user_msg=$input.message
)
[thinking]: notify(status="🤔 DeepSeek 正在本地处理...")
[final_chat]: chat(
agent="deepseek-chat",
message=$prepare_msg.output
)
[init] -> [prepare_msg] -> [thinking] -> [final_chat]