Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
|
@@ -373,10 +373,10 @@ class SlpMultiAgent:
|
|
| 373 |
|
| 374 |
# Simplified research agent
|
| 375 |
research_agent = CodeAgent(
|
| 376 |
-
tools=[GoogleSearchTool(), KnowledgeBaseTool()],
|
| 377 |
model=model if not isinstance(model, GeminiModel) else OpenAIServerModel(model_id="gpt-3.5-turbo", temperature=0.0, max_tokens=400),
|
| 378 |
additional_authorized_imports=["re", "json"],
|
| 379 |
-
max_steps=
|
| 380 |
name="ResearchAgent",
|
| 381 |
verbosity_level=0,
|
| 382 |
description="Simple research with Google Search."
|
|
@@ -386,7 +386,7 @@ class SlpMultiAgent:
|
|
| 386 |
tools=[MathTool(), GoogleSearchTool()],
|
| 387 |
model=model if not isinstance(model, GeminiModel) else OpenAIServerModel(model_id="gpt-3.5-turbo", temperature=0.0, max_tokens=400),
|
| 388 |
additional_authorized_imports=["math", "re"],
|
| 389 |
-
max_steps=
|
| 390 |
name="SolverAgent",
|
| 391 |
verbosity_level=0,
|
| 392 |
description="Simple problem solving with math and search."
|
|
@@ -401,7 +401,7 @@ class SlpMultiAgent:
|
|
| 401 |
additional_authorized_imports=["re", "math", "json", "pandas", "numpy", "requests", "time", "os", "tempfile", "uuid"],
|
| 402 |
planning_interval=1,
|
| 403 |
verbosity_level=0,
|
| 404 |
-
max_steps=
|
| 405 |
final_answer_checks=[check_reasoning]
|
| 406 |
)
|
| 407 |
|
|
|
|
| 373 |
|
| 374 |
# Simplified research agent
|
| 375 |
research_agent = CodeAgent(
|
| 376 |
+
tools=[GoogleSearchTool(), KnowledgeBaseTool(),WikipediaSearchTool(),WebScrapeTool()],
|
| 377 |
model=model if not isinstance(model, GeminiModel) else OpenAIServerModel(model_id="gpt-3.5-turbo", temperature=0.0, max_tokens=400),
|
| 378 |
additional_authorized_imports=["re", "json"],
|
| 379 |
+
max_steps=4,
|
| 380 |
name="ResearchAgent",
|
| 381 |
verbosity_level=0,
|
| 382 |
description="Simple research with Google Search."
|
|
|
|
| 386 |
tools=[MathTool(), GoogleSearchTool()],
|
| 387 |
model=model if not isinstance(model, GeminiModel) else OpenAIServerModel(model_id="gpt-3.5-turbo", temperature=0.0, max_tokens=400),
|
| 388 |
additional_authorized_imports=["math", "re"],
|
| 389 |
+
max_steps=4,
|
| 390 |
name="SolverAgent",
|
| 391 |
verbosity_level=0,
|
| 392 |
description="Simple problem solving with math and search."
|
|
|
|
| 401 |
additional_authorized_imports=["re", "math", "json", "pandas", "numpy", "requests", "time", "os", "tempfile", "uuid"],
|
| 402 |
planning_interval=1,
|
| 403 |
verbosity_level=0,
|
| 404 |
+
max_steps=6,
|
| 405 |
final_answer_checks=[check_reasoning]
|
| 406 |
)
|
| 407 |
|