Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions mcp-client/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ async def process_query(self, query: str) -> str:
)

# Process response and handle tool calls
tool_results = []
final_text = []

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

# 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
Expand Down