mirror of
https://github.com/open-webui/open-webui.git
synced 2026-01-03 23:25:21 +00:00
fix(RAG): on document index error
This commit is contained in:
parent
78af1ac311
commit
0cf0ca4ee2
1 changed files with 1 additions and 1 deletions
|
|
@ -2497,7 +2497,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…
Reference in a new issue