From 9ce21a2a2fb86037db0518d7aec98a9716b9828b Mon Sep 17 00:00:00 2001 From: Giles Odigwe Date: Fri, 8 May 2026 09:48:57 -0700 Subject: [PATCH] Re-enable Anthropic integration tests Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../AnthropicChatCompletionFixture.cs | 5 ----- .../AnthropicSkillsIntegrationTests.cs | 5 ----- 2 files changed, 10 deletions(-) diff --git a/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicChatCompletionFixture.cs b/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicChatCompletionFixture.cs index 7c2a0c3b6c..f8ea4bc714 100644 --- a/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicChatCompletionFixture.cs +++ b/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicChatCompletionFixture.cs @@ -102,11 +102,6 @@ public class AnthropicChatCompletionFixture : IChatClientAgentFixture public async ValueTask InitializeAsync() { - // Temporarily disabled: Anthropic SDK has a binary incompatibility with the current - // Microsoft.Extensions.AI version (WebSearchToolResultContent.Results method not found). - // See: https://github.com/microsoft/agent-framework/pull/5515 - Assert.Skip("Anthropic integration tests temporarily disabled due to SDK incompatibility with Microsoft.Extensions.AI"); - try { _ = TestConfiguration.GetRequiredValue(TestSettings.AnthropicApiKey); diff --git a/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicSkillsIntegrationTests.cs b/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicSkillsIntegrationTests.cs index 82b3511993..8b26c01205 100644 --- a/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicSkillsIntegrationTests.cs +++ b/dotnet/tests/AnthropicChatCompletion.IntegrationTests/AnthropicSkillsIntegrationTests.cs @@ -18,11 +18,6 @@ namespace AnthropicChatCompletion.IntegrationTests; /// Integration tests for Anthropic Skills functionality. /// These tests are designed to be run locally with a valid Anthropic API key. /// -/// -/// Temporarily disabled due to Anthropic SDK binary incompatibility with -/// the current Microsoft.Extensions.AI version (WebSearchToolResultContent.Results). -/// -[Trait("Category", "IntegrationDisabled")] public sealed class AnthropicSkillsIntegrationTests { [Fact]