umairahmad1789 commited on
Commit
ed6be92
·
verified ·
1 Parent(s): 1de7505

Update assistant.py

Browse files
Files changed (1) hide show
  1. 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": "file_search"}]}
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