Skip to content

Commit 385206c

Browse files
committed
fix code QA
1 parent ea377de commit 385206c

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

litellm/responses/mcp/mcp_streaming_iterator.py

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,6 @@ async def create_mcp_list_tools_events(
4141
pre_processed_mcp_tools: List[Any]
4242
) -> List[ResponsesAPIStreamingResponse]:
4343
"""Create MCP discovery events using pre-processed tools from the parent"""
44-
from litellm.responses.mcp.litellm_proxy_mcp_handler import (
45-
LiteLLM_Proxy_MCP_Handler,
46-
)
4744

4845
events: List[ResponsesAPIStreamingResponse] = []
4946

@@ -462,8 +459,6 @@ async def _generate_tool_execution_events(self) -> None:
462459
if not tool_calls:
463460
return
464461

465-
# Create tool execution events
466-
base_item_id = f"mcp_{uuid.uuid4().hex[:8]}"
467462
for tool_call in tool_calls:
468463
tool_name, tool_arguments, tool_call_id = LiteLLM_Proxy_MCP_Handler._extract_tool_call_details(tool_call)
469464
if tool_name and tool_call_id:

0 commit comments

Comments
 (0)