From da3a3eca6732142dc38df74fb1e3da3b32310bfb Mon Sep 17 00:00:00 2001 From: sushka Date: Fri, 20 Mar 2026 17:35:45 +0300 Subject: [PATCH] run black --- .../llms/hosted_vllm/chat/transformation.py | 19 +++++++++++++++++-- 1 file changed, 17 insertions(+), 2 deletions(-) diff --git a/litellm/llms/hosted_vllm/chat/transformation.py b/litellm/llms/hosted_vllm/chat/transformation.py index e3acd14a311..7d1fb04fdd5 100644 --- a/litellm/llms/hosted_vllm/chat/transformation.py +++ b/litellm/llms/hosted_vllm/chat/transformation.py @@ -2,7 +2,19 @@ Translate from OpenAI's `/v1/chat/completions` to VLLM's `/v1/chat/completions` """ -from typing import Any, Coroutine, List, Literal, Optional, Tuple, Union, cast, overload, Iterator, AsyncIterator +from typing import ( + Any, + Coroutine, + List, + Literal, + Optional, + Tuple, + Union, + cast, + overload, + Iterator, + AsyncIterator, +) from litellm.litellm_core_utils.prompt_templates.common_utils import ( _get_image_mime_type_from_url, @@ -18,7 +30,10 @@ from litellm.types.llms.openai import ( from ....types.utils import ModelResponseStream, ModelResponse from ....utils import _remove_additional_properties, _remove_strict_from_schema -from ...openai.chat.gpt_transformation import OpenAIGPTConfig, OpenAIChatCompletionStreamingHandler +from ...openai.chat.gpt_transformation import ( + OpenAIGPTConfig, + OpenAIChatCompletionStreamingHandler, +) class HostedVLLMChatConfig(OpenAIGPTConfig):