Update Qwen.py

This commit is contained in:
H Lohaus 2025-09-21 22:26:28 +02:00 committed by GitHub
parent 3e37961b00
commit cb0136fdcf
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -187,7 +187,7 @@ class Qwen(AsyncGeneratorProvider, ProviderModelMixin):
parent_id=None
)
files = []
media = list(merge_media(media))
media = list(merge_media(media, messages))
if media:
for _file, file_name in media:
file_class: Literal["default", "vision", "video", "audio", "document"] = "vision"