mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-05-21 15:36:48 +00:00
feat: add agents
This commit is contained in:
@@ -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(),
|
||||
)
|
||||
Reference in New Issue
Block a user