Skip to content

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]

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.py
index 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 Final
from litellm.llms.openai.image_edit.transformation import OpenAIImageEditConfig
@@ -7,12 +5,6 @@ from litellm.secret_managers.main import get_secret_str
class 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 contract
diff --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.py
index 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 httpx
import pytest