Update agent.py
Browse files
agent.py
CHANGED
@@ -536,9 +536,9 @@ class EnhancedGAIAAgent:
|
|
536 |
if not hf_token:
|
537 |
print("Warning: HUGGINGFACEHUB_API_TOKEN not found, some features may not work")
|
538 |
|
539 |
-
|
540 |
-
|
541 |
-
|
542 |
|
543 |
def download_gaia_file(self, task_id: str, api_url: str = "https://agents-course-unit4-scoring.hf.space") -> str:
|
544 |
"""Download file associated with task_id"""
|
|
|
536 |
if not hf_token:
|
537 |
print("Warning: HUGGINGFACEHUB_API_TOKEN not found, some features may not work")
|
538 |
|
539 |
+
self.coordinator = AgentWorkflow(
|
540 |
+
agents=[external_knowledge_agent, code_agent],
|
541 |
+
root_agent="external_knowledge_agent")
|
542 |
|
543 |
def download_gaia_file(self, task_id: str, api_url: str = "https://agents-course-unit4-scoring.hf.space") -> str:
|
544 |
"""Download file associated with task_id"""
|