Skip to content

Commit 83978b1

Browse files
authored
Merge branch 'main' into localden/rfc8707
2 parents e6c9de7 + 876b03f commit 83978b1

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

docs/quickstart/client.mdx

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -640,7 +640,6 @@ async processQuery(query: string) {
640640
});
641641

642642
const finalText = [];
643-
const toolResults = [];
644643

645644
for (const content of response.content) {
646645
if (content.type === "text") {
@@ -653,7 +652,6 @@ async processQuery(query: string) {
653652
name: toolName,
654653
arguments: toolArgs,
655654
});
656-
toolResults.push(result);
657655
finalText.push(
658656
`[Calling tool ${toolName} with args ${JSON.stringify(toolArgs)}]`
659657
);
@@ -1474,6 +1472,7 @@ Then, add the required dependencies to your project:
14741472
dotnet add package ModelContextProtocol --prerelease
14751473
dotnet add package Anthropic.SDK
14761474
dotnet add package Microsoft.Extensions.Hosting
1475+
dotnet add package Microsoft.Extensions.AI
14771476
```
14781477

14791478
## Setting up your API key

0 commit comments

Comments
 (0)