From f601f00e0025ba80ea56dbaaf6cf2b1cdcb4cf28 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Thu, 25 Jun 2026 08:51:18 +0000 Subject: [PATCH 1/2] Bump Anthropic from 12.20.0 to 12.31.0 --- updated-dependencies: - dependency-name: Anthropic dependency-version: 12.31.0 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- dotnet/Directory.Packages.props | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props index 3d30f24e6ee..e94e2a12fdb 100644 --- a/dotnet/Directory.Packages.props +++ b/dotnet/Directory.Packages.props @@ -11,7 +11,7 @@ - + From cd94f7c6050edad647f410ee7ed67655b72b4d9b Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Thu, 25 Jun 2026 11:00:13 +0000 Subject: [PATCH 2/2] Implement new Anthropic 12.31.0 interface members in test mocks --- .../Extensions/AnthropicBetaServiceExtensionsTests.cs | 5 +++++ .../Extensions/AnthropicClientExtensionsTests.cs | 1 + 2 files changed, 6 insertions(+) diff --git a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs index 9836ac8fcf6..b4125ccc01d 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs @@ -443,6 +443,7 @@ public TestAnthropicChatClient() public string? ApiKey { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } public string? AuthToken { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } public string? WebhookKey { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } + public IReadOnlyList Handlers { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } public IAnthropicClientWithRawResponse WithRawResponse => throw new NotImplementedException(); @@ -490,6 +491,10 @@ public TestBetaService(IAnthropicClient client) public global::Anthropic.Services.Beta.ISessionService Sessions => throw new NotImplementedException(); + public global::Anthropic.Services.Beta.IDeploymentService Deployments => throw new NotImplementedException(); + + public global::Anthropic.Services.Beta.IDeploymentRunService DeploymentRuns => throw new NotImplementedException(); + public global::Anthropic.Services.Beta.IVaultService Vaults => throw new NotImplementedException(); public global::Anthropic.Services.Beta.IMemoryStoreService MemoryStores => throw new NotImplementedException(); diff --git a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs index 2bff68a5c71..d3cbc90d0bd 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicClientExtensionsTests.cs @@ -73,6 +73,7 @@ public TestAnthropicChatClient() public string? ApiKey { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } public string? AuthToken { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } public string? WebhookKey { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } + public IReadOnlyList Handlers { get => throw new NotImplementedException(); init => throw new NotImplementedException(); } public IAnthropicClientWithRawResponse WithRawResponse => throw new NotImplementedException();