From 56d6288380933902d756a3cb2468c4091e5de05a Mon Sep 17 00:00:00 2001 From: pengzh1 Date: Fri, 28 Aug 2026 02:26:36 +0800 Subject: [PATCH] fix(prometheus): add the missing reason to the LIT004 suppression --- litellm/integrations/prometheus.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/integrations/prometheus.py b/litellm/integrations/prometheus.py index cb36c933102..6900db462f7 100644 --- a/litellm/integrations/prometheus.py +++ b/litellm/integrations/prometheus.py @@ -2628,7 +2628,7 @@ class PrometheusLogger(CustomLogger): label_api_provider = ( # pyright: ignore[reportUnknownVariableType] # bare-dict kwargs, same pattern as every label reader in this handler llm_provider or self._extract_api_provider_from_request_data( - request_kwargs # pyright: ignore[reportUnknownArgumentType, reportUnknownMemberType] + request_kwargs # pyright: ignore[reportUnknownArgumentType, reportUnknownMemberType] # untyped request kwargs at this boundary ) or "" )