The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
fix: put image_edit_request_params spread first to avoid overwriting model_info/metadata
Chesarsa08e5195e50b
diff --git a/litellm/images/main.py b/litellm/images/main.pyindex f4e65290ca3..8f6a983aa0c 100644--- a/litellm/images/main.py+++ b/litellm/images/main.py@@ -873,10 +873,10 @@ def image_edit( # noqa: PLR0915user=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,)