Spaces:
Sleeping
Sleeping
Update prompts
Browse files
agent.py
CHANGED
|
@@ -25,7 +25,7 @@ class CodingAgent:
|
|
| 25 |
model=model,
|
| 26 |
tools=[PythonInterpreterTool()],
|
| 27 |
name="coding_agent",
|
| 28 |
-
description="Executes Python code to solve tasks",
|
| 29 |
verbosity_level=LogLevel.INFO,
|
| 30 |
max_steps=2,
|
| 31 |
# add_base_tools=True,
|
|
@@ -50,7 +50,7 @@ class WebAgent:
|
|
| 50 |
model=model,
|
| 51 |
tools=[WebSearchTool(), VisitWebpageTool(), WikipediaSearchTool()],
|
| 52 |
name="web_agent",
|
| 53 |
-
description="Browses the web to find information",
|
| 54 |
verbosity_level=LogLevel.INFO,
|
| 55 |
max_steps=3,
|
| 56 |
)
|
|
|
|
| 25 |
model=model,
|
| 26 |
tools=[PythonInterpreterTool()],
|
| 27 |
name="coding_agent",
|
| 28 |
+
description="Executes Python code to solve tasks, this agent should not be used to make external calls e.g. do not make any requests to URLs. This agent should just be used to process information retrieved from other tools and agents locally",
|
| 29 |
verbosity_level=LogLevel.INFO,
|
| 30 |
max_steps=2,
|
| 31 |
# add_base_tools=True,
|
|
|
|
| 50 |
model=model,
|
| 51 |
tools=[WebSearchTool(), VisitWebpageTool(), WikipediaSearchTool()],
|
| 52 |
name="web_agent",
|
| 53 |
+
description="Browses the web to find information, to find information about a subject Wikipedia is the best source for factual information. For following direct links, use the VisitWebpageTool. For general searches, use the WebSearchTool. This agent should not be used to execute code or make requests to URLs.",
|
| 54 |
verbosity_level=LogLevel.INFO,
|
| 55 |
max_steps=3,
|
| 56 |
)
|