SergeyO7 commited on
Commit
38d1986
·
verified ·
1 Parent(s): 00f8706

Update agent.py

Browse files
Files changed (1) hide show
  1. agent.py +1 -1
agent.py CHANGED
@@ -21,7 +21,7 @@ class MagAgent:
21
  # Run the agent asynchronously
22
  response = await asyncio.to_thread(
23
  self.agent.run,
24
- prompt=f"Answer the following question accurately and concisely: {question}"
25
  )
26
  print(f"MagAgent response: {response[:50]}...")
27
  return response
 
21
  # Run the agent asynchronously
22
  response = await asyncio.to_thread(
23
  self.agent.run,
24
+ query=f"Answer the following question accurately and concisely: {question}"
25
  )
26
  print(f"MagAgent response: {response[:50]}...")
27
  return response