Skip to content

Commit 52d50be

Browse files
authored
Bump Anthropic SDK to 12.13.0 and Anthropic.Foundry to 0.5.0 (microsoft#5279)
- 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
1 parent d20f9b5 commit 52d50be

3 files changed

Lines changed: 11 additions & 3 deletions

File tree

dotnet/Directory.Packages.props

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
</PropertyGroup>
1212
<ItemGroup>
1313
<!-- Aspire.* -->
14-
<PackageVersion Include="Anthropic" Version="12.11.0" />
15-
<PackageVersion Include="Anthropic.Foundry" Version="0.4.2" />
14+
<PackageVersion Include="Anthropic" Version="12.13.0" />
15+
<PackageVersion Include="Anthropic.Foundry" Version="0.5.0" />
1616
<PackageVersion Include="Aspire.Azure.AI.OpenAI" Version="13.0.0-preview.1.25560.3" />
1717
<PackageVersion Include="Aspire.Hosting.AppHost" Version="$(AspireAppHostSdkVersion)" />
1818
<PackageVersion Include="Aspire.Hosting.Azure.CognitiveServices" Version="$(AspireAppHostSdkVersion)" />

dotnet/src/Microsoft.Agents.AI.Anthropic/Microsoft.Agents.AI.Anthropic.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<Project Sdk="Microsoft.NET.Sdk">
22

33
<PropertyGroup>
4-
<IsReleaseCandidate>true</IsReleaseCandidate>
4+
<IsReleaseCandidate>false</IsReleaseCandidate>
55
<ImplicitUsings>enable</ImplicitUsings>
66
<InjectSharedThrow>true</InjectSharedThrow>
77
</PropertyGroup>

dotnet/tests/Microsoft.Agents.AI.Anthropic.UnitTests/Extensions/AnthropicBetaServiceExtensionsTests.cs

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -483,6 +483,14 @@ public TestBetaService(IAnthropicClient client)
483483

484484
public IBetaMessageService Messages => new Mock<IBetaMessageService>().Object;
485485

486+
public global::Anthropic.Services.Beta.IAgentService Agents => throw new NotImplementedException();
487+
488+
public global::Anthropic.Services.Beta.IEnvironmentService Environments => throw new NotImplementedException();
489+
490+
public global::Anthropic.Services.Beta.ISessionService Sessions => throw new NotImplementedException();
491+
492+
public global::Anthropic.Services.Beta.IVaultService Vaults => throw new NotImplementedException();
493+
486494
public IBetaService WithOptions(Func<ClientOptions, ClientOptions> modifier)
487495
{
488496
throw new NotImplementedException();

0 commit comments

Comments
 (0)