Skip to content

Commit dfc9247

Browse files
committed
remove unused variable
1 parent 1a6be37 commit dfc9247

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

mcp-client-python/client.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,6 @@ async def process_query(self, query: str) -> str:
7171
)
7272

7373
# Process response and handle tool calls
74-
tool_results = []
7574
final_text = []
7675

7776
for content in response.content:
@@ -83,7 +82,6 @@ async def process_query(self, query: str) -> str:
8382

8483
# Execute tool call
8584
result = await self.session.call_tool(tool_name, tool_args)
86-
tool_results.append({"call": tool_name, "result": result})
8785
final_text.append(f"[Calling tool {tool_name} with args {tool_args}]")
8886

8987
# Continue conversation with tool results

0 commit comments

Comments
 (0)