From 68b2872ed645cffb641fa5a21a784d6e9ea0d72b Mon Sep 17 00:00:00 2001 From: Timothy Jaeryang Baek Date: Thu, 22 Jan 2026 15:03:31 +0400 Subject: [PATCH] fix/refac: file batch process issue --- backend/open_webui/routers/retrieval.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/open_webui/routers/retrieval.py b/backend/open_webui/routers/retrieval.py index 5a3a346ab..ce9153c8d 100644 --- a/backend/open_webui/routers/retrieval.py +++ b/backend/open_webui/routers/retrieval.py @@ -2721,7 +2721,7 @@ async def process_files_batch( for file_result in file_results: file_result.status = "failed" file_errors.append( - BatchProcessFilesResult(file_id=file_result.file_id, error=str(e)) + BatchProcessFilesResult(file_id=file_result.file_id, status="failed", error=str(e)) ) return BatchProcessFilesResponse(results=file_results, errors=file_errors)