fix(prometheus): add the missing reason to the LIT004 suppression

This commit is contained in:
pengzh1 2026-08-28 02:26:36 +08:00
parent 59ba92ef1e
commit 56d6288380

View file

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