diff --git a/litellm/litellm_core_utils/litellm_logging.py b/litellm/litellm_core_utils/litellm_logging.py index 9b672a184e9..174fbbdb78a 100644 --- a/litellm/litellm_core_utils/litellm_logging.py +++ b/litellm/litellm_core_utils/litellm_logging.py @@ -4300,7 +4300,7 @@ def _construct_custom_logger_compatible_class( custom_logger_init_args: dict | None = None, # mutable-ok: callback constructor API ) -> CustomLogger | None: try: - resolved_custom_logger_init_args: Final[dict] = ( # mutable-ok: callback constructor API + custom_logger_init_args = ( # rebind-ok: callback constructors require normalized kwargs custom_logger_init_args or {} ) if logging_integration == "agentops": # Add AgentOps initialization