style: apply ruff formatting to mcp_handler and test file

This commit is contained in:
Arjun Pakhan 2026-08-19 06:16:20 +00:00
parent 95069a378f
commit 30ad47b03d

View file

@ -146,10 +146,7 @@ async def anthropic_messages_with_mcp(
# If any requested tool is not owned by server-side MCP (e.g. client-native tools like Read/Bash),
# do not auto-execute server-side. Pass the full response back to the client.
has_client_side_tool = any(
block.get("name") not in tool_server_map
for block in tool_use_blocks
)
has_client_side_tool = any(block.get("name") not in tool_server_map for block in tool_use_blocks)
if has_client_side_tool:
break