mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-13 03:59:12 +00:00
style(proxy): trim redundant validation comment
This commit is contained in:
parent
1ebc10486b
commit
c4e6f6b6a0
1 changed files with 0 additions and 4 deletions
|
|
@ -1228,10 +1228,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 "
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue