mirror of
https://github.com/tiennm99/litellm.git
synced 2026-08-11 02:22:48 +00:00
fix(proxy_server.py): fix linting issue
This commit is contained in:
@@ -6794,9 +6794,7 @@ async def add_new_model(
|
||||
- store keys separately
|
||||
"""
|
||||
# encrypt litellm params #
|
||||
_litellm_params_dict = model_params.litellm_params.model_dump(
|
||||
exclude_none=True
|
||||
)
|
||||
_litellm_params_dict = model_params.litellm_params.dict(exclude_none=True)
|
||||
for k, v in _litellm_params_dict.items():
|
||||
if isinstance(v, str):
|
||||
encrypted_value = encrypt_value(value=v, master_key=master_key) # type: ignore
|
||||
|
||||
Reference in New Issue
Block a user