Coool2 commited on
Commit
2560709
·
verified ·
1 Parent(s): 3700780

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
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, input=context_prompt)
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: