Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions Anthropic.SDK.Tests/Anthropic.SDK.Tests.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -34,12 +34,12 @@

<ItemGroup>
<PackageReference Include="Google.Cloud.AIPlatform.V1" Version="3.65.0" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="11.0.0-preview.1.26104.118" />
<PackageReference Include="Microsoft.Bcl.AsyncInterfaces" Version="10.0.3" />
<PackageReference Include="Microsoft.Extensions.AI" Version="10.3.0" />
<PackageReference Include="ModelContextProtocol" Version="0.8.0-preview.1" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="11.0.0-preview.1.26104.118" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="11.0.0-preview.1.26104.118" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="11.0.0-preview.1.26104.118" />
<PackageReference Include="Microsoft.Extensions.Configuration" Version="10.0.3" />
<PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="10.0.3" />
<PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="10.0.3" />
<PackageReference Include="Microsoft.NET.Test.Sdk" Version="18.0.1" />
<PackageReference Include="Microsoft.SemanticKernel" Version="1.71.0" />
<PackageReference Include="Microsoft.SemanticKernel.Abstractions" Version="1.71.0" />
Expand Down
16 changes: 8 additions & 8 deletions Anthropic.SDK.Tests/MCPTests.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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<MCPServer>()
{
new MCPServer()
{
Url = "https://mcp.deepwiki.com/sse",
Name = "DeepWiki",
Url = "https://learn.microsoft.com/api/mcp",
Name = "MSFT",
}
}
};
Expand All @@ -37,7 +37,7 @@ public async Task TestMCP()
Role = RoleType.User,
Content = new List<ContentBase>
{
new TextContent { Text = "Tell me about the repo tghamm/Anthropic.SDK" }
new TextContent { Text = "Tell me about the Latest Microsoft.Extensions.AI Library" }
}
}
};
Expand All @@ -55,16 +55,16 @@ public async Task TestMCPExtendedStreaming()
var client = new AnthropicClient();
var parameters = new MessageParameters()
{
Model = AnthropicModels.Claude37Sonnet,
Model = AnthropicModels.Claude46Sonnet,
MaxTokens = 3000,
Temperature = 1,
Stream = true,
MCPServers = new List<MCPServer>()
{
new MCPServer()
{
Url = "https://mcp.deepwiki.com/sse",
Name = "DeepWiki",
Url = "https://learn.microsoft.com/api/mcp",
Name = "MSFT",
}
}
};
Expand All @@ -75,7 +75,7 @@ public async Task TestMCPExtendedStreaming()
Role = RoleType.User,
Content = new List<ContentBase>
{
new TextContent { Text = "Tell me about the repo tghamm/Anthropic.SDK" }
new TextContent { Text = "Tell me about the latest Microsoft.Extensions.AI Library" }
}
}
};
Expand Down
Loading