mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix(model_management): drop new inline comments and mock reconcile outcome in create-path test
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a045904628
commit
12452a8456
2 changed files with 145 additions and 314 deletions
|
|
@ -560,9 +560,7 @@ def update_db_model(db_model: Deployment, updated_patch: updateDeployment) -> Pr
|
|||
|
||||
# update model info
|
||||
if updated_patch.model_info:
|
||||
merged_model_info.update(
|
||||
without_server_derived_pricing(updated_patch.model_info.model_dump(exclude_none=True))
|
||||
)
|
||||
merged_model_info.update(without_server_derived_pricing(updated_patch.model_info.model_dump(exclude_none=True)))
|
||||
|
||||
# Honor explicit-null clears LAST, after both merges, so a model_info blob a client
|
||||
# passes through cannot silently undo a litellm_params clear via .update().
|
||||
|
|
|
|||
File diff suppressed because it is too large
Load diff
Loading…
Add table
Reference in a new issue