Spaces:
Runtime error
Runtime error
umairahmad1789
commited on
Update assistant.py
Browse files- assistant.py +1 -1
assistant.py
CHANGED
@@ -77,7 +77,7 @@ class OAIAssistant:
|
|
77 |
role="assistant",
|
78 |
content=new_message,
|
79 |
attachments=[
|
80 |
-
{"file_id": file_id, "tools": [{"type": "
|
81 |
for _, file_id in file_ids.items()
|
82 |
]
|
83 |
if file_ids
|
|
|
77 |
role="assistant",
|
78 |
content=new_message,
|
79 |
attachments=[
|
80 |
+
{"file_id": file_id, "tools": [{"type": "image_file"}]}
|
81 |
for _, file_id in file_ids.items()
|
82 |
]
|
83 |
if file_ids
|