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:
yassin 2026-09-02 15:53:40 +00:00
parent a045904628
commit 12452a8456
2 changed files with 145 additions and 314 deletions

View file

@ -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().