remove unused variable
This commit is contained in:
parent
1a6be37dbe
commit
dfc92478e2
1 changed files with 0 additions and 2 deletions
|
|
@ -71,7 +71,6 @@ class MCPClient:
|
||||||
)
|
)
|
||||||
|
|
||||||
# Process response and handle tool calls
|
# Process response and handle tool calls
|
||||||
tool_results = []
|
|
||||||
final_text = []
|
final_text = []
|
||||||
|
|
||||||
for content in response.content:
|
for content in response.content:
|
||||||
|
|
@ -83,7 +82,6 @@ class MCPClient:
|
||||||
|
|
||||||
# Execute tool call
|
# Execute tool call
|
||||||
result = await self.session.call_tool(tool_name, tool_args)
|
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}]")
|
final_text.append(f"[Calling tool {tool_name} with args {tool_args}]")
|
||||||
|
|
||||||
# Continue conversation with tool results
|
# Continue conversation with tool results
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue