Fix/assistant none type (#2145)

pull/2146/head
Yeuoly 2 years ago committed by GitHub
parent 9525ca08b9
commit 27828f44b9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -128,6 +128,7 @@ class MessageFileParser:
# group by file type and convert file args or message files to FileObj
for file in files:
if isinstance(file, MessageFile):
if file.belongs_to == FileBelongsTo.ASSISTANT.value:
continue

Loading…
Cancel
Save