feat:更新智能体架构

This commit is contained in:
2026-07-02 22:17:33 +08:00
parent c66d3a871e
commit 20e45d5c8b
21 changed files with 270 additions and 218 deletions

11
agent/bill.py Normal file
View File

@@ -0,0 +1,11 @@
from langchain.agents import create_agent
from agent.model import model
from prompt.bill import bill_prompt
from tools.bill import bill_search
bill_agent = create_agent(
model=model,
tools=[bill_search],
system_prompt=bill_prompt
)