Spaces:
Runtime error
Runtime error
Scott Cogan commited on
Commit ·
93fa391
1
Parent(s): c4244ab
Fix: Update agent name to valid Python identifier
Browse files
app.py
CHANGED
|
@@ -85,7 +85,7 @@ agent = CodeAgent(
|
|
| 85 |
verbosity_level=2, # Increased verbosity for better debugging
|
| 86 |
grammar=None,
|
| 87 |
planning_interval=1, # Added planning interval to ensure proper planning
|
| 88 |
-
name="
|
| 89 |
description="An agent specialized in answering various types of questions using available tools. The agent must use the final_answer tool to submit its answer.",
|
| 90 |
prompt_templates=prompt_templates
|
| 91 |
)
|
|
|
|
| 85 |
verbosity_level=2, # Increased verbosity for better debugging
|
| 86 |
grammar=None,
|
| 87 |
planning_interval=1, # Added planning interval to ensure proper planning
|
| 88 |
+
name="question_answering_agent",
|
| 89 |
description="An agent specialized in answering various types of questions using available tools. The agent must use the final_answer tool to submit its answer.",
|
| 90 |
prompt_templates=prompt_templates
|
| 91 |
)
|