diff --git a/litellm/integrations/generic_api/generic_api_callback.py b/litellm/integrations/generic_api/generic_api_callback.py index cbdc3ecd205..17a6ae6bc79 100644 --- a/litellm/integrations/generic_api/generic_api_callback.py +++ b/litellm/integrations/generic_api/generic_api_callback.py @@ -376,9 +376,9 @@ class GenericAPILogger(CustomBatchLogger): batch: Final = tuple(self.log_queue) if not batch: return - failed_events: Final[ + failed_events: Final[ # mutable-ok: filled while the send runs and drained into the queue in finally list[Mapping[str, object] | StandardLoggingPayload] - ] = [] # mutable-ok: filled while the send runs and drained into the queue in finally + ] = [] try: verbose_logger.debug( "Generic API Logger - about to flush %s events in '%s' format", len(batch), self.log_format