Skip to content

Commit 4373361

Browse files
.NET: Remove retired OpenAI Assistants integration tests (#14354)
### Motivation and Context The OpenAI Assistants API has been retired. The .NET integration pipeline now receives `HTTP 410 (assistants_api_deprecated)` from Azure OpenAI, causing 43 agent integration test failures. Failing job: https://github.com/microsoft/semantic-kernel/actions/runs/33497308634/job/99822416385 ### Description - Remove the retired OpenAI Assistant agent integration tests and their shared fixture. - Remove mixed-agent integration tests that depend on the Assistants API. - Keep Chat Completion and Aggregator agent tests using their own classes as user-secrets assembly markers. The production Assistants implementation is intentionally unchanged and can be removed separately. ### Contribution Checklist - [x] The code builds clean without any errors or warnings - [x] The PR follows the [SK Contribution Guidelines](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md) and the [pre-submission formatting script](https://github.com/microsoft/semantic-kernel/blob/main/CONTRIBUTING.md#development-scripts) raises no violations - [ ] All unit tests pass, and I have added new tests where possible - [x] I didn't break anyone 😄 Co-authored-by: Copilot App <[email protected]> Copilot-Session: 6c360f47-9139-42f1-9dca-4b8ab68f7a53
1 parent 6da62d3 commit 4373361

11 files changed

Lines changed: 2 additions & 724 deletions

File tree

‎dotnet/src/IntegrationTests/Agents/AggregatorAgentTests.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ public sealed class AggregatorAgentTests()
2525
.AddJsonFile(path: "testsettings.json", optional: true, reloadOnChange: true)
2626
.AddJsonFile(path: "testsettings.development.json", optional: true, reloadOnChange: true)
2727
.AddEnvironmentVariables()
28-
.AddUserSecrets<OpenAIAssistantAgentTests>()
28+
.AddUserSecrets<AggregatorAgentTests>()
2929
.Build();
3030

3131
/// <summary>

‎dotnet/src/IntegrationTests/Agents/ChatCompletionAgentTests.cs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ public sealed class ChatCompletionAgentTests()
2626
.AddJsonFile(path: "testsettings.json", optional: true, reloadOnChange: true)
2727
.AddJsonFile(path: "testsettings.development.json", optional: true, reloadOnChange: true)
2828
.AddEnvironmentVariables()
29-
.AddUserSecrets<OpenAIAssistantAgentTests>()
29+
.AddUserSecrets<ChatCompletionAgentTests>()
3030
.Build();
3131

3232
/// <summary>

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentThreadConformance/OpenAIAssistantAgentThreadTests.cs‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentWithAIContextProviderConformance/OpenAIAssistantAgentWithAIContextProviderTests.cs‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/AgentWithTextSearchProviderConformance/OpenAIAssistantAgentWithTextSearchProviderTests.cs‎

Lines changed: 0 additions & 7 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/InvokeConformance/OpenAIAssistantAgentInvokeTests.cs‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/InvokeStreamingConformance/OpenAIAssistantAgentInvokeStreamingTests.cs‎

Lines changed: 0 additions & 8 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/OpenAIAssistantAgentFixture.cs‎

Lines changed: 0 additions & 123 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/CommonInterfaceConformance/SemanticKernelAIAgentConformance/OpenAIAssistantAgentAdapterTests.cs‎

Lines changed: 0 additions & 5 deletions
This file was deleted.

‎dotnet/src/IntegrationTests/Agents/MixedAgentTests.cs‎

Lines changed: 0 additions & 196 deletions
This file was deleted.

0 commit comments

Comments
 (0)