From dfc92478e2b7087dfb369ad36695e8b9ff459f3f Mon Sep 17 00:00:00 2001 From: David Soria Parra Date: Mon, 10 Mar 2025 11:35:14 +0000 Subject: [PATCH] remove unused variable --- mcp-client-python/client.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/mcp-client-python/client.py b/mcp-client-python/client.py index d3642ed..1194840 100644 --- a/mcp-client-python/client.py +++ b/mcp-client-python/client.py @@ -71,7 +71,6 @@ class MCPClient: ) # Process response and handle tool calls - tool_results = [] final_text = [] for content in response.content: @@ -83,7 +82,6 @@ class MCPClient: # Execute tool call result = await self.session.call_tool(tool_name, tool_args) - tool_results.append({"call": tool_name, "result": result}) final_text.append(f"[Calling tool {tool_name} with args {tool_args}]") # Continue conversation with tool results