feat: add agents

This commit is contained in:
Henry Li
2026-01-14 07:20:00 +08:00
parent cbbbac0c2b
commit 7dc063ba25
4 changed files with 93 additions and 0 deletions

View File

@@ -0,0 +1,10 @@
from langchain.agents import create_agent
from src.agents.lead_agent.prompt import apply_prompt_template
from src.models import create_chat_model
from src.tools import get_available_tools
lead_agent = create_agent(
model=create_chat_model(thinking_enabled=True),
tools=get_available_tools(),
system_prompt=apply_prompt_template(),
)