Update agent.py
Browse files
agent.py
CHANGED
@@ -455,6 +455,7 @@ class EnhancedGAIAAgent:
|
|
455 |
from llama_index.core.workflow import Context
|
456 |
ctx = Context(self.coordinator)
|
457 |
response = await self.coordinator.run(ctx=ctx, input=context_prompt)
|
|
|
458 |
return str(response)
|
459 |
except Exception as e:
|
460 |
return f"Error processing question: {str(e)}"
|
|
|
455 |
from llama_index.core.workflow import Context
|
456 |
ctx = Context(self.coordinator)
|
457 |
response = await self.coordinator.run(ctx=ctx, input=context_prompt)
|
458 |
+
print (response)
|
459 |
return str(response)
|
460 |
except Exception as e:
|
461 |
return f"Error processing question: {str(e)}"
|