Spaces:
Sleeping
Sleeping
Update agent.py
Browse files
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 |
-
|
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
|