We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1a6be37 commit dfc9247Copy full SHA for dfc9247
mcp-client-python/client.py
@@ -71,7 +71,6 @@ async def process_query(self, query: str) -> str:
71
)
72
73
# Process response and handle tool calls
74
- tool_results = []
75
final_text = []
76
77
for content in response.content:
@@ -83,7 +82,6 @@ async def process_query(self, query: str) -> str:
83
82
84
# Execute tool call
85
result = await self.session.call_tool(tool_name, tool_args)
86
- tool_results.append({"call": tool_name, "result": result})
87
final_text.append(f"[Calling tool {tool_name} with args {tool_args}]")
88
89
# Continue conversation with tool results
0 commit comments