Skip to content

.Net: Ignore unknown response item types rather than throw #12596

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Conversation

markwallace-microsoft
Copy link
Member

Motivation and Context

Closes #12511

Description

Contribution Checklist

@markwallace-microsoft markwallace-microsoft requested a review from a team as a code owner June 26, 2025 13:32
@markwallace-microsoft markwallace-microsoft added the .NET Issue or Pull requests regarding .NET code label Jun 26, 2025
@github-actions github-actions bot changed the title Ignore unknown response item types rather than throw .Net: Ignore unknown response item types rather than throw Jun 26, 2025
@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue Jun 26, 2025
@github-merge-queue github-merge-queue bot removed this pull request from the merge queue due to failed status checks Jun 26, 2025
@markwallace-microsoft markwallace-microsoft added this pull request to the merge queue Jun 26, 2025
@markwallace-microsoft
Copy link
Member Author

Unrelated integration test failure:

[xUnit.net 00:00:11.46]     SemanticKernel.IntegrationTests.Connectors.AzureOpenAI.AzureOpenAITextToImageTests.GetImageContentsCanReturnImageUrlAsync [FAIL]
[xUnit.net 00:00:11.46]       Microsoft.SemanticKernel.HttpOperationException : HTTP 400 (invalid_request_error: content_policy_violation)
[xUnit.net 00:00:11.46]       
[xUnit.net 00:00:11.46]       This request has been blocked by our content filters.
[xUnit.net 00:00:11.46]       ---- System.ClientModel.ClientResultException : HTTP 400 (invalid_request_error: content_policy_violation)
[xUnit.net 00:00:11.46]       
[xUnit.net 00:00:11.46]       This request has been blocked by our content filters.

Merged via the queue into microsoft:main with commit e001e97 Jun 26, 2025
19 checks passed
@markwallace-microsoft markwallace-microsoft deleted the users/markwallace/issue_12511 branch June 26, 2025 19:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
.NET Issue or Pull requests regarding .NET code
Projects
None yet
Development

Successfully merging this pull request may close these issues.

.Net: Bug: OpenAIResponseAgent 'Unsupported response item: OpenAI.Responses.ReasoningResponseItem'
3 participants