From 28ed6cd0e0341e3d2273a65d96221d09e5696f0e Mon Sep 17 00:00:00 2001 From: Roger Barreto <19890735+rogerbarreto@users.noreply.github.com> Date: Wed, 15 Apr 2026 16:24:03 +0100 Subject: [PATCH] Bump Anthropic SDK to 12.13.0 and Anthropic.Foundry to 0.5.0 - Update Anthropic from 12.11.0 to 12.13.0 - Update Anthropic.Foundry from 0.4.2 to 0.5.0 - Change Anthropic project from release candidate to preview - Add new IBetaService members (Agents, Environments, Sessions, Vaults) to test mock --- dotnet/Directory.Packages.props | 4 ++-- .../Microsoft.Agents.AI.Anthropic.csproj | 2 +- .../Extensions/AnthropicBetaServiceExtensionsTests.cs | 8 ++++++++ 3 files changed, 11 insertions(+), 3 deletions(-) diff --git a/dotnet/Directory.Packages.props b/dotnet/Directory.Packages.props index 0270f0e38b..20bdc8af74 100644 --- a/dotnet/Directory.Packages.props +++ b/dotnet/Directory.Packages.props @@ -11,8 +11,8 @@ - - + + diff --git a/dotnet/src/Microsoft.Agents.AI.Anthropic/Microsoft.Agents.AI.Anthropic.csproj b/dotnet/src/Microsoft.Agents.AI.Anthropic/Microsoft.Agents.AI.Anthropic.csproj index 0cd6eeb37d..ec2e0df971 100644 --- a/dotnet/src/Microsoft.Agents.AI.Anthropic/Microsoft.Agents.AI.Anthropic.csproj +++ b/dotnet/src/Microsoft.Agents.AI.Anthropic/Microsoft.Agents.AI.Anthropic.csproj @@ -1,7 +1,7 @@  - true + false enable true 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 6485eaa85b..cccac81eba 100644 --- a/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs +++ b/dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs @@ -483,6 +483,14 @@ public TestBetaService(IAnthropicClient client) public IBetaMessageService Messages => new Mock().Object; + public global::Anthropic.Services.Beta.IAgentService Agents => throw new NotImplementedException(); + + public global::Anthropic.Services.Beta.IEnvironmentService Environments => throw new NotImplementedException(); + + public global::Anthropic.Services.Beta.ISessionService Sessions => throw new NotImplementedException(); + + public global::Anthropic.Services.Beta.IVaultService Vaults => throw new NotImplementedException(); + public IBetaService WithOptions(Func modifier) { throw new NotImplementedException();