diff --git a/Anthropic.SDK.Tests/Anthropic.SDK.Tests.csproj b/Anthropic.SDK.Tests/Anthropic.SDK.Tests.csproj index 3920640..b05f7e9 100644 --- a/Anthropic.SDK.Tests/Anthropic.SDK.Tests.csproj +++ b/Anthropic.SDK.Tests/Anthropic.SDK.Tests.csproj @@ -34,12 +34,12 @@ - + - - - + + + diff --git a/Anthropic.SDK.Tests/MCPTests.cs b/Anthropic.SDK.Tests/MCPTests.cs index 4236e06..e693d64 100644 --- a/Anthropic.SDK.Tests/MCPTests.cs +++ b/Anthropic.SDK.Tests/MCPTests.cs @@ -18,15 +18,15 @@ public async Task TestMCP() var client = new AnthropicClient(); var parameters = new MessageParameters() { - Model = AnthropicModels.Claude37Sonnet, + Model = AnthropicModels.Claude46Sonnet, MaxTokens = 5000, Temperature = 1, MCPServers = new List() { new MCPServer() { - Url = "https://mcp.deepwiki.com/sse", - Name = "DeepWiki", + Url = "https://learn.microsoft.com/api/mcp", + Name = "MSFT", } } }; @@ -37,7 +37,7 @@ public async Task TestMCP() Role = RoleType.User, Content = new List { - new TextContent { Text = "Tell me about the repo tghamm/Anthropic.SDK" } + new TextContent { Text = "Tell me about the Latest Microsoft.Extensions.AI Library" } } } }; @@ -55,7 +55,7 @@ public async Task TestMCPExtendedStreaming() var client = new AnthropicClient(); var parameters = new MessageParameters() { - Model = AnthropicModels.Claude37Sonnet, + Model = AnthropicModels.Claude46Sonnet, MaxTokens = 3000, Temperature = 1, Stream = true, @@ -63,8 +63,8 @@ public async Task TestMCPExtendedStreaming() { new MCPServer() { - Url = "https://mcp.deepwiki.com/sse", - Name = "DeepWiki", + Url = "https://learn.microsoft.com/api/mcp", + Name = "MSFT", } } }; @@ -75,7 +75,7 @@ public async Task TestMCPExtendedStreaming() Role = RoleType.User, Content = new List { - new TextContent { Text = "Tell me about the repo tghamm/Anthropic.SDK" } + new TextContent { Text = "Tell me about the latest Microsoft.Extensions.AI Library" } } } };