-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Open
Labels
Description
Context
PR #4613 updated Microsoft.Extensions.AI to 10.4.0, which renamed McpServerToolApprovalResponseContent to ToolApprovalResponseContent. The Azure.AI.Agents.Persistent package (currently 1.2.0-beta.9) still references the old type, causing TypeLoadException at runtime.
The upstream fix is tracked in Azure/azure-sdk-for-net#56929 and is expected in Azure.AI.Agents.Persistent 1.2.0-beta.10.
Disabled Tests
All 6 test classes in dotnet/tests/AzureAIAgentsPersistent.IntegrationTests/ have been marked with [Trait("Category", "IntegrationDisabled")]:
AzureAIAgentsPersistentCreateTests(5 test methods)AzureAIAgentsPersistentRunTests(5 inherited test methods fromRunTests)AzureAIAgentsPersistentRunStreamingTests(5 inherited test methods fromRunStreamingTests)AzureAIAgentsPersistentStructuredOutputRunTests(3 test methods)AzureAIAgentsChatClientAgentRunTests(2 inherited test methods fromChatClientAgentRunTests)AzureAIAgentsChatClientAgentRunStreamingTests(2 inherited test methods fromChatClientAgentRunStreamingTests)
Total: 22 test methods disabled
Action Required
- Update
Azure.AI.Agents.Persistentto a version targeting ME.AI 10.4.0+ (likely1.2.0-beta.10) inDirectory.Packages.props - Remove
[Trait("Category", "IntegrationDisabled")]from all 6 test classes - Remove the
// Disabled:comments from each file - Verify all tests pass in CI
Related
- PR .NET: Update to OpenAI 2.9.1, Azure.AI.OpenAI 2.9.0-beta.1, Microsoft.Extensions.AI 10.4.0, and Azure.AI.Projects 2.0.0-beta.2 #4613 — .NET: Update to OpenAI 2.9.1 and Microsoft.Extensions.AI 10.4.0
- Azure/azure-sdk-for-net#56929 — Upstream fix
Reactions are currently unavailable