Remove unused variable (#172)
The client program will work even if the variable `tool_results` is removed
This commit is contained in:
parent
51f7d1640a
commit
7613d74195
1 changed files with 0 additions and 2 deletions
|
|
@ -162,7 +162,6 @@ async def process_query(self, query: str) -> str:
|
|||
)
|
||||
|
||||
# Process response and handle tool calls
|
||||
tool_results = []
|
||||
final_text = []
|
||||
|
||||
assistant_message_content = []
|
||||
|
|
@ -176,7 +175,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}]")
|
||||
|
||||
assistant_message_content.append(content)
|
||||
|
|
|
|||
Loading…
Reference in a new issue