feat: 增加食谱Agent

This commit is contained in:
2026-09-01 23:03:17 +08:00
parent 825e097989
commit e71a26e761
5 changed files with 95 additions and 12 deletions

View File

@@ -1,9 +1,14 @@
from langchain.agents import create_agent
from agent.model import model
from agent.prompt import tip_prompt
from agent.prompt import tip_prompt, recipe_prompt
tip_agent = create_agent(
model=model,
system_prompt=tip_prompt
)
recipe_agent = create_agent(
model=model,
system_prompt=recipe_prompt
)