Fix/assistant none type (#2145)
This commit is contained in:
@@ -128,6 +128,7 @@ class MessageFileParser:
|
|||||||
|
|
||||||
# group by file type and convert file args or message files to FileObj
|
# group by file type and convert file args or message files to FileObj
|
||||||
for file in files:
|
for file in files:
|
||||||
|
if isinstance(file, MessageFile):
|
||||||
if file.belongs_to == FileBelongsTo.ASSISTANT.value:
|
if file.belongs_to == FileBelongsTo.ASSISTANT.value:
|
||||||
continue
|
continue
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user