Spaces:
Running
Running
Update agent.py
Browse files
agent.py
CHANGED
@@ -376,7 +376,7 @@ class MagAgent:
|
|
376 |
print(f"MagAgent received question (first 50 chars): {question[:50]}... Task ID: {task_id}")
|
377 |
try:
|
378 |
# Unified processing flow
|
379 |
-
img_path =
|
380 |
|
381 |
response = await self.model.acreate(
|
382 |
messages=[{
|
|
|
376 |
print(f"MagAgent received question (first 50 chars): {question[:50]}... Task ID: {task_id}")
|
377 |
try:
|
378 |
# Unified processing flow
|
379 |
+
img_path = self.download_tool(task_id)
|
380 |
|
381 |
response = await self.model.acreate(
|
382 |
messages=[{
|