Update agent.py
Browse files
agent.py
CHANGED
@@ -454,7 +454,7 @@ class EnhancedGAIAAgent:
|
|
454 |
try:
|
455 |
from llama_index.core.workflow import Context
|
456 |
ctx = Context(self.coordinator)
|
457 |
-
response = await self.coordinator.run(ctx=ctx,
|
458 |
print (response)
|
459 |
return str(response)
|
460 |
except Exception as e:
|
|
|
454 |
try:
|
455 |
from llama_index.core.workflow import Context
|
456 |
ctx = Context(self.coordinator)
|
457 |
+
response = await self.coordinator.run(ctx=ctx, user_msg=context_prompt)
|
458 |
print (response)
|
459 |
return str(response)
|
460 |
except Exception as e:
|