|
25 | 25 | name="File Upload Agent",
|
26 | 26 | agent_id="file-upload-agent",
|
27 | 27 | role="Answer questions about the uploaded files",
|
28 |
| - model=Claude(id="claude-3-7-sonnet-latest"), |
29 | 28 | storage=PostgresStorage(
|
30 | 29 | table_name="agent_sessions", db_url=db_url, auto_upgrade_schema=True
|
31 | 30 | ),
|
|
41 | 40 |
|
42 | 41 | video_agent = Agent(
|
43 | 42 | name="Video Understanding Agent",
|
44 |
| - model=Gemini(id="gemini-2.0-flash"), |
45 | 43 | agent_id="video-understanding-agent",
|
46 | 44 | role="Answer questions about video files",
|
47 | 45 | storage=PostgresStorage(
|
|
59 | 57 | name="Audio Understanding Agent",
|
60 | 58 | agent_id="audio-understanding-agent",
|
61 | 59 | role="Answer questions about audio files",
|
62 |
| - model=OpenAIChat(id="gpt-4o-audio-preview"), |
63 | 60 | storage=PostgresStorage(
|
64 | 61 | table_name="agent_sessions", db_url=db_url, auto_upgrade_schema=True
|
65 | 62 | ),
|
|
74 | 71 | web_agent = Agent(
|
75 | 72 | name="Web Agent",
|
76 | 73 | role="Search the web for information",
|
77 |
| - model=OpenAIChat(id="gpt-4o"), |
78 | 74 | tools=[DuckDuckGoTools()],
|
79 | 75 | agent_id="web_agent",
|
80 | 76 | instructions=[
|
|
93 | 89 | name="Finance Agent",
|
94 | 90 | role="Get financial data",
|
95 | 91 | agent_id="finance_agent",
|
96 |
| - model=OpenAIChat(id="gpt-4o"), |
97 | 92 | tools=[
|
98 | 93 | YFinanceTools(stock_price=True, analyst_recommendations=True, company_info=True)
|
99 | 94 | ],
|
|
114 | 109 | simple_agent = Agent(
|
115 | 110 | name="Simple Agent",
|
116 | 111 | role="Simple agent",
|
117 |
| - model=OpenAIChat(id="gpt-4o"), |
118 | 112 | instructions=["You are a simple agent"],
|
119 | 113 | memory=memory,
|
120 | 114 | enable_user_memories=True,
|
|
123 | 117 | research_agent = Agent(
|
124 | 118 | name="Research Agent",
|
125 | 119 | role="Research agent",
|
126 |
| - model=OpenAIChat(id="gpt-4o"), |
127 | 120 | instructions=["You are a research agent"],
|
128 | 121 | tools=[DuckDuckGoTools(), ExaTools()],
|
129 | 122 | agent_id="research_agent",
|
|
135 | 128 | name="Research Team",
|
136 | 129 | description="A team of agents that research the web",
|
137 | 130 | members=[research_agent, simple_agent],
|
138 |
| - model=OpenAIChat(id="gpt-4o"), |
139 | 131 | mode="coordinate",
|
140 | 132 | team_id="research_team",
|
141 | 133 | success_criteria=dedent("""\
|
|
191 | 183 | audio_agent,
|
192 | 184 | video_agent,
|
193 | 185 | ],
|
194 |
| - model=OpenAIChat(id="gpt-4o"), |
195 | 186 | mode="route",
|
196 | 187 | team_id="financial_news_team",
|
197 | 188 | instructions=[
|
|
0 commit comments