From a9ba1222c51b4255dc48469b29a98e13b2d34601 Mon Sep 17 00:00:00 2001 From: linhongyu510 Date: Sat, 29 Aug 2026 14:40:33 +0800 Subject: [PATCH] style(proxy): trim redundant validation comment --- litellm/proxy/proxy_cli.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/litellm/proxy/proxy_cli.py b/litellm/proxy/proxy_cli.py index 55a222c77b4..126c2914c74 100644 --- a/litellm/proxy/proxy_cli.py +++ b/litellm/proxy/proxy_cli.py @@ -1152,10 +1152,6 @@ def run_server( if general_settings is None: general_settings = {} elif not isinstance(general_settings, dict): - # A non-dict `general_settings` (e.g. a bare string from a - # malformed YAML block) otherwise surfaces as a cryptic - # `AttributeError: 'str' object has no attribute 'get'` deep in - # startup. Fail fast with a message that points at the config. raise ValueError( "`general_settings` in the proxy config must be a mapping " f"(got {type(general_settings).__name__}). Check the "