Skip to content

Commit 4f15d12

Browse files
committed
fix: resolve linting errors
1 parent dae7d08 commit 4f15d12

File tree

1 file changed

+6
-6
lines changed
  • litellm/proxy/_experimental/mcp_server

1 file changed

+6
-6
lines changed

litellm/proxy/_experimental/mcp_server/server.py

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -571,16 +571,16 @@ async def call_mcp_tool(
571571
"litellm_logging_obj", None
572572
)
573573
if litellm_logging_obj:
574-
litellm_logging_obj.model_call_details["mcp_tool_call_metadata"] = (
575-
standard_logging_mcp_tool_call
576-
)
574+
litellm_logging_obj.model_call_details[
575+
"mcp_tool_call_metadata"
576+
] = standard_logging_mcp_tool_call
577577
litellm_logging_obj.model = f"MCP: {name}"
578578
# Try managed server tool first (pass the full prefixed name)
579579
# Primary and recommended way to use MCP servers
580580
#########################################################
581-
mcp_server: Optional[MCPServer] = (
582-
global_mcp_server_manager._get_mcp_server_from_tool_name(name)
583-
)
581+
mcp_server: Optional[
582+
MCPServer
583+
] = global_mcp_server_manager._get_mcp_server_from_tool_name(name)
584584
if mcp_server:
585585
standard_logging_mcp_tool_call["mcp_server_cost_info"] = (
586586
mcp_server.mcp_info or {}

0 commit comments

Comments
 (0)