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(bfl): check HTTP status when downloading image from URL
Chesarsd693007726cd
diff --git a/litellm/llms/black_forest_labs/image_edit/transformation.py b/litellm/llms/black_forest_labs/image_edit/transformation.pyindex 35b62a1e415..78898345bf6 100644--- a/litellm/llms/black_forest_labs/image_edit/transformation.py+++ b/litellm/llms/black_forest_labs/image_edit/transformation.py@@ -200,6 +200,7 @@ class BlackForestLabsImageEditConfig(BaseImageEditConfig):if image.startswith(("http://", "https://")):# Download image from URLresponse = httpx.get(image, timeout=60.0)+ response.raise_for_status()return response.contentelse:# Assume it's a file path