diff --git a/litellm/proxy/proxy_cli.py b/litellm/proxy/proxy_cli.py index 9652ff0f925..faa26893dd8 100644 --- a/litellm/proxy/proxy_cli.py +++ b/litellm/proxy/proxy_cli.py @@ -9,7 +9,7 @@ import sys import urllib.parse as urlparse from collections.abc import Iterable, Mapping, Sequence from pathlib import Path -from typing import TYPE_CHECKING, Any, Final +from typing import TYPE_CHECKING, Any, Final, cast import click import httpx @@ -1240,7 +1240,7 @@ def run_server( elif not isinstance(general_settings, dict): raise ValueError( "`general_settings` in the proxy config must be a mapping " - f"(got {_value_type_name(general_settings)}). Check the " + f"(got {_value_type_name(cast(object, general_settings))}). Check the " "`general_settings:` block in your config file." ) ### LOAD KEY MANAGEMENT SETTINGS FIRST (needed for custom secret manager) ###