Spaces:
Paused
Paused
Update main.py
Browse files
main.py
CHANGED
|
@@ -29,7 +29,7 @@ class QueryRequest(BaseModel):
|
|
| 29 |
web_search_agent = Agent(
|
| 30 |
name="Web Search Agent",
|
| 31 |
role="Search the web for the information",
|
| 32 |
-
model=Groq(id="
|
| 33 |
tools=[GoogleSearch()],
|
| 34 |
instructions=["Always include sources"],
|
| 35 |
show_tools_calls=True,
|
|
@@ -40,7 +40,7 @@ web_search_agent = Agent(
|
|
| 40 |
finance_agent = Agent(
|
| 41 |
name="Finance AI Agent",
|
| 42 |
model=Groq(
|
| 43 |
-
id="
|
| 44 |
api_key=gorq_api_key,
|
| 45 |
role="Get financial data",
|
| 46 |
),
|
|
@@ -61,7 +61,7 @@ finance_agent = Agent(
|
|
| 61 |
|
| 62 |
# Multi-Agent
|
| 63 |
multi_ai_agent = Agent(
|
| 64 |
-
model=Groq(id="
|
| 65 |
team=[web_search_agent, finance_agent],
|
| 66 |
instructions=["Always include sources", "Use tables to display the data"],
|
| 67 |
show_tool_calls=True,
|
|
|
|
| 29 |
web_search_agent = Agent(
|
| 30 |
name="Web Search Agent",
|
| 31 |
role="Search the web for the information",
|
| 32 |
+
model=Groq(id="Deepseek-R1-Distill-Llama-70b", api_key=gorq_api_key),
|
| 33 |
tools=[GoogleSearch()],
|
| 34 |
instructions=["Always include sources"],
|
| 35 |
show_tools_calls=True,
|
|
|
|
| 40 |
finance_agent = Agent(
|
| 41 |
name="Finance AI Agent",
|
| 42 |
model=Groq(
|
| 43 |
+
id="Deepseek-R1-Distill-Llama-70b",
|
| 44 |
api_key=gorq_api_key,
|
| 45 |
role="Get financial data",
|
| 46 |
),
|
|
|
|
| 61 |
|
| 62 |
# Multi-Agent
|
| 63 |
multi_ai_agent = Agent(
|
| 64 |
+
model=Groq(id="Deepseek-R1-Distill-Llama-70b", api_key=gorq_api_key),
|
| 65 |
team=[web_search_agent, finance_agent],
|
| 66 |
instructions=["Always include sources", "Use tables to display the data"],
|
| 67 |
show_tool_calls=True,
|