mirror of
https://github.com/open-webui/open-webui.git
synced 2026-09-08 22:21:38 +00:00
fix/refac: file batch process issue
This commit is contained in:
parent
1a4bdd2b30
commit
68b2872ed6
1 changed files with 1 additions and 1 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue