mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-08 22:21:35 +00:00
fix: put image_edit_request_params spread first to avoid overwriting model_info/metadata
This commit is contained in:
parent
727adb0117
commit
a08e5195e5
1 changed files with 1 additions and 1 deletions
|
|
@ -873,10 +873,10 @@ def image_edit( # noqa: PLR0915
|
|||
user=user,
|
||||
optional_params=dict(image_edit_request_params),
|
||||
litellm_params={
|
||||
**image_edit_request_params,
|
||||
"litellm_call_id": litellm_call_id,
|
||||
"model_info": model_info,
|
||||
"metadata": metadata,
|
||||
**image_edit_request_params,
|
||||
},
|
||||
custom_llm_provider=custom_llm_provider,
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue