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 51f7d16 commit 7613d74Copy full SHA for 7613d74
quickstart/client.mdx
@@ -162,7 +162,6 @@ async def process_query(self, query: str) -> str:
162
)
163
164
# Process response and handle tool calls
165
- tool_results = []
166
final_text = []
167
168
assistant_message_content = []
@@ -176,7 +175,6 @@ async def process_query(self, query: str) -> str:
176
175
177
# Execute tool call
178
result = await self.session.call_tool(tool_name, tool_args)
179
- tool_results.append({"call": tool_name, "result": result})
180
final_text.append(f"[Calling tool {tool_name} with args {tool_args}]")
181
182
assistant_message_content.append(content)
0 commit comments