style: apply repository Ruff import ordering

This commit is contained in:
tarunag10 2026-08-20 12:57:19 +05:30
parent 9597c6c102
commit 8e57d4d457
3 changed files with 4 additions and 8 deletions

View file

@ -3,13 +3,12 @@
import logging
from typing import TYPE_CHECKING, Any, Final, cast
from litellm.responses.mcp.request_context import MCPRequestContext
from litellm.types.utils import Message, ModelResponse
from litellm.utils import CustomStreamWrapper
from litellm.responses.mcp.litellm_proxy_mcp_handler import (
LiteLLM_Proxy_MCP_Handler,
)
from litellm.responses.mcp.request_context import MCPRequestContext
from litellm.types.utils import Message, ModelResponse
from litellm.utils import CustomStreamWrapper
if TYPE_CHECKING:
from litellm.proxy._types import UserAPIKeyAuth

View file

@ -1202,7 +1202,6 @@ class LiteLLM_Proxy_MCP_Handler:
List of MCP tool execution events for streaming
"""
from litellm._uuid import uuid
from litellm.responses.mcp.mcp_streaming_iterator import create_mcp_call_events
tool_execution_events: Final[list[ResponsesAPIStreamingResponse]] = []

View file

@ -23,9 +23,8 @@ from litellm.types.llms.openai import (
if TYPE_CHECKING:
from litellm.proxy._types import UserAPIKeyAuth
from mcp.types import Tool as MCPTool
from litellm.responses.mcp.litellm_proxy_mcp_handler import MCPToolResult
from mcp.types import Tool as MCPTool
else:
MCPTool = Any
@ -767,7 +766,6 @@ class MCPEnhancedStreamingIterator(BaseResponsesAPIStreamingIterator):
return
from litellm.responses.main import aresponses
from litellm.responses.mcp.litellm_proxy_mcp_handler import (
LiteLLM_Proxy_MCP_Handler,
)