mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-18 09:45:23 +00:00
fix(s3_v2): rebind the retry queue instead of slicing in place
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
5bda224929
commit
0e456ac599
1 changed files with 1 additions and 1 deletions
|
|
@ -487,7 +487,7 @@ class S3Logger(CustomBatchLogger, BaseAWSLLM):
|
|||
failed: Final = tuple(element for element, ok in zip(uploads, results, strict=True) if not ok)
|
||||
if not failed:
|
||||
return
|
||||
self.log_queue[:] = [*failed, *self.log_queue[len(batch) :]]
|
||||
self.log_queue = [*failed, *self.log_queue[len(batch) :]]
|
||||
raise S3BatchUploadError(failed=len(failed), total=len(uploads))
|
||||
|
||||
def _batch_file_mode_active(self) -> bool:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue