mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-25 18:54:30 +00:00
fix(proxy_server.py): fix linting issue
This commit is contained in:
parent
e3c2bdef4d
commit
fbfcd57798
1 changed files with 1 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue