Skip to content

Commit 761356b

Browse files
author
=
committed
Remove unused toolResults
1 parent 7f1b9e5 commit 761356b

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

docs/quickstart/client.mdx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -610,7 +610,6 @@ async processQuery(query: string) {
610610
});
611611

612612
const finalText = [];
613-
const toolResults = [];
614613

615614
for (const content of response.content) {
616615
if (content.type === "text") {
@@ -623,7 +622,6 @@ async processQuery(query: string) {
623622
name: toolName,
624623
arguments: toolArgs,
625624
});
626-
toolResults.push(result);
627625
finalText.push(
628626
`[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`
629627
);

0 commit comments

Comments
 (0)