mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-05 02:41:56 +00:00
refactor(hosted_vllm): drop redundant image edit docstrings
This commit is contained in:
parent
88d2d77553
commit
260097b2dd
2 changed files with 0 additions and 10 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -1,5 +1,3 @@
|
|||
"""Tests for hosted_vllm image edits (vLLM-Omni /v1/images/edits)."""
|
||||
|
||||
import httpx
|
||||
import pytest
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue