Skip to content

Commit eca882e

Browse files
Update Anthropic SDK to 12.2.0 (#1164)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com> Co-authored-by: eiriktsarpalis <2813363+eiriktsarpalis@users.noreply.github.com> Co-authored-by: Eirik Tsarpalis <eirik.tsarpalis@gmail.com>
1 parent c9eddc9 commit eca882e

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Directory.Packages.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@
6060

6161
<!-- Testing dependencies -->
6262
<ItemGroup>
63-
<PackageVersion Include="Anthropic" Version="12.1.0" />
63+
<PackageVersion Include="Anthropic" Version="12.2.0" />
6464
<PackageVersion Include="coverlet.collector" Version="6.0.4">
6565
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
6666
<PrivateAssets>all</PrivateAssets>

samples/QuickstartClient/Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
Console.WriteLine($"Connected to server with tools: {tool.Name}");
4242
}
4343

44-
using var anthropicClient = new AnthropicClient(new() { APIKey = builder.Configuration["ANTHROPIC_API_KEY"] })
44+
using var anthropicClient = new AnthropicClient(new() { ApiKey = builder.Configuration["ANTHROPIC_API_KEY"] })
4545
.AsIChatClient("claude-haiku-4-5-20251001")
4646
.AsBuilder()
4747
.UseFunctionInvocation()

0 commit comments

Comments
 (0)