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(factory.py): fix bedrock http:// handling
Krrish Dholakia5b08289d8831
diff --git a/litellm/litellm_core_utils/prompt_templates/factory.py b/litellm/litellm_core_utils/prompt_templates/factory.pyindex fbb2cd16a56..abb508b9820 100644--- a/litellm/litellm_core_utils/prompt_templates/factory.py+++ b/litellm/litellm_core_utils/prompt_templates/factory.py@@ -2307,7 +2307,7 @@ class BedrockImageProcessor:"""Synchronous image processing."""if "base64" in image_url:img_bytes, mime_type, image_format = cls._parse_base64_image(image_url)- elif "https:/" in image_url:+ elif "http://" in image_url or "https://" in image_url:img_bytes, mime_type = BedrockImageProcessor.get_image_details(image_url)image_format = mime_type.split("/")[1]else: