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
refactor(hosted_vllm): drop redundant image edit docstrings
mateo-berri260097b2dde7
diff --git a/litellm/llms/hosted_vllm/image_edit/transformation.py b/litellm/llms/hosted_vllm/image_edit/transformation.pyindex bd27c962da8..fa8c1dbfcfd 100644--- a/litellm/llms/hosted_vllm/image_edit/transformation.py+++ b/litellm/llms/hosted_vllm/image_edit/transformation.py@@ -1,5 +1,3 @@-"""Image edits for Hosted VLLM (vLLM-Omni OpenAI-compatible /v1/images/edits)."""-from typing import Finalfrom litellm.llms.openai.image_edit.transformation import OpenAIImageEditConfig@@ -7,12 +5,6 @@ from litellm.secret_managers.main import get_secret_strclass HostedVLLMImageEditConfig(OpenAIImageEditConfig):- """- vLLM-Omni images edits API follows the OpenAI multipart contract.-- https://docs.vllm.ai/projects/vllm-omni/en/latest/serving/images_api/- """-def validate_environment(self,headers: dict, # mutable-ok: BaseImageEditConfig contractdiff --git a/tests/test_litellm/llms/hosted_vllm/image_edit/test_hosted_vllm_image_edit_transformation.py b/tests/test_litellm/llms/hosted_vllm/image_edit/test_hosted_vllm_image_edit_transformation.pyindex e1167b92553..5646f3d9d13 100644--- a/tests/test_litellm/llms/hosted_vllm/image_edit/test_hosted_vllm_image_edit_transformation.py+++ b/tests/test_litellm/llms/hosted_vllm/image_edit/test_hosted_vllm_image_edit_transformation.py@@ -1,5 +1,3 @@-"""Tests for hosted_vllm image edits (vLLM-Omni /v1/images/edits)."""-import httpximport pytest