feat: 增加食谱Agent
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user