Spaces:
Build error
Build error
Added description for managed agents
Browse files
app.py
CHANGED
|
@@ -40,7 +40,8 @@ class BasicAgent:
|
|
| 40 |
tools=[WebSearchTool(), VisitWebpageTool()],
|
| 41 |
max_steps=5,
|
| 42 |
model=model,
|
| 43 |
-
name="web_search_agent"
|
|
|
|
| 44 |
)
|
| 45 |
|
| 46 |
# stt_agent = ToolCallingAgent(
|
|
@@ -48,7 +49,8 @@ class BasicAgent:
|
|
| 48 |
# tools=[SpeechToTextTool()],
|
| 49 |
# max_steps=5,
|
| 50 |
# model=model,
|
| 51 |
-
# name="speech_to_text_agent"
|
|
|
|
| 52 |
# )
|
| 53 |
|
| 54 |
manager_agent = CodeAgent(
|
|
|
|
| 40 |
tools=[WebSearchTool(), VisitWebpageTool()],
|
| 41 |
max_steps=5,
|
| 42 |
model=model,
|
| 43 |
+
name="web_search_agent",
|
| 44 |
+
description="This agent can search the web and visit webpages to gather information.",
|
| 45 |
)
|
| 46 |
|
| 47 |
# stt_agent = ToolCallingAgent(
|
|
|
|
| 49 |
# tools=[SpeechToTextTool()],
|
| 50 |
# max_steps=5,
|
| 51 |
# model=model,
|
| 52 |
+
# name="speech_to_text_agent",
|
| 53 |
+
# description="This agent can transcribe audio files to text.",
|
| 54 |
# )
|
| 55 |
|
| 56 |
manager_agent = CodeAgent(
|