From b80f0751f6ba24a8917b601439df19515eb2b996 Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Wed, 14 May 2025 21:59:17 +0400 Subject: [PATCH] refac --- backend/open_webui/routers/files.py | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/backend/open_webui/routers/files.py b/backend/open_webui/routers/files.py index 475905da1b..d374554155 100644 --- a/backend/open_webui/routers/files.py +++ b/backend/open_webui/routers/files.py @@ -153,6 +153,11 @@ def upload_file( "video/quicktime", ]: process_file(request, ProcessFileForm(file_id=id), user=user) + else: + log.info( + f"File type {file.content_type} is not supported for processing, but trying to process anyway" + ) + process_file(request, ProcessFileForm(file_id=id), user=user) file_item = Files.get_file_by_id(id=id) except Exception as e: