fix/refac: file batch process issue

This commit is contained in:
Timothy Jaeryang Baek
2026-01-22 15:03:31 +04:00
parent 1a4bdd2b30
commit 68b2872ed6

View File

@@ -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)