mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-06 08:16:43 +00:00
fix: fix update_db_model (#10726)
This commit is contained in:
parent
3d8c3d7b96
commit
3ddaf313c2
1 changed files with 1 additions and 0 deletions
|
|
@ -79,6 +79,7 @@ def update_db_model(
|
|||
litellm_params=LiteLLMParamsTypedDict(
|
||||
**db_model.litellm_params.model_dump(exclude_none=True) # type: ignore
|
||||
),
|
||||
model_info=db_model.model_info.model_dump(exclude_none=True),
|
||||
)
|
||||
# update model name
|
||||
if updated_patch.model_name:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue