From 1a329e8972ce44fe563124feeccc9cb129bd53b5 Mon Sep 17 00:00:00 2001 From: 0xallam Date: Mon, 8 Jun 2026 02:38:49 +0300 Subject: [PATCH] Suppress LiteLLM stdout banner spam litellm.suppress_debug_info silences two unsolicited print() calls in LiteLLM core: the "Provider List: https://docs.litellm.ai/docs/providers" banner emitted by get_llm_provider_logic and the "Give Feedback / Get Help" + "If you need to debug this error, use litellm._turn_on_debug()" pair emitted by exception_mapping_utils on every LiteLLM exception. Both are unconditional print() calls, not logger output, so log-level config can't catch them. LiteLLM's own router and proxy_server set the same flag for the same reason. --- strix/config/models.py | 1 + 1 file changed, 1 insertion(+) diff --git a/strix/config/models.py b/strix/config/models.py index c6775e2..b686743 100644 --- a/strix/config/models.py +++ b/strix/config/models.py @@ -102,6 +102,7 @@ def _configure_litellm_compatibility() -> None: litellm.modify_params = True litellm.turn_off_message_logging = True litellm.disable_streaming_logging = True + litellm.suppress_debug_info = True def _configure_litellm_default(name: str, value: str) -> None: