We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents d10bccf + 0d8253e commit 2ec66ceCopy full SHA for 2ec66ce
1 file changed
app/workers/handlers/file_api_task.py
@@ -37,7 +37,7 @@ def file_api_task_callback(payload: dict) -> bool:
37
return True
38
39
file_id = data.get('id')
40
- if payload.get('event') == "file.created" and data.get('purpose') == 'assistants':
+ if payload.get('event') == "file.created" and data.get('purpose') in ['assistants', 'assistants-chat']:
41
# 更新文件状态为消息入队
42
file_api_client.update_processing_status('queued', 0, file_id, '', "file_indexing")
43
0 commit comments