mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
style: apply ruff formatting to mcp_handler and test file
This commit is contained in:
parent
95069a378f
commit
30ad47b03d
1 changed files with 1 additions and 4 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue