From e59202e438ffd2208b3152c6ea61abc3d20be7ab Mon Sep 17 00:00:00 2001 From: mateo-berri <277851410+mateo-berri@users.noreply.github.com> Date: Sat, 16 May 2026 01:39:55 +0000 Subject: [PATCH] fix: keep require_auth_for_metrics_endpoint default at True main has True; an unrelated Cursor Agent commit on this branch silently flipped it to False, which would disable /metrics auth for every deployment that relied on the default after this PR merges. Drop the unrelated change to restore main's behavior. --- litellm/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/__init__.py b/litellm/__init__.py index 5503373e21c..e1b367fb234 100644 --- a/litellm/__init__.py +++ b/litellm/__init__.py @@ -166,7 +166,7 @@ langfuse_default_tags: Optional[List[str]] = None langsmith_batch_size: Optional[int] = None prometheus_initialize_budget_metrics: Optional[bool] = False prometheus_latency_buckets: Optional[List[float]] = None -require_auth_for_metrics_endpoint: Optional[bool] = False +require_auth_for_metrics_endpoint: Optional[bool] = True argilla_batch_size: Optional[int] = None datadog_use_v1: Optional[bool] = False # if you want to use v1 datadog logged payload. gcs_pub_sub_use_v1: Optional[bool] = (