Skip to content

.Net Fix - Display thread type name in error message #12723

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

Merged
merged 1 commit into from
Jul 16, 2025

Conversation

crickman
Copy link
Contributor

@crickman crickman commented Jul 15, 2025

Motivation and Context

Error message confusing

Description

Error message does not display thread type and instead displays the name of the generic parameter:

Microsoft.SemanticKernel.KernelException: OpenAIResponseAgent currently only supports agent threads of type TThreadType.

(Customer reported an error using the erroneous error message.)

Contribution Checklist

@crickman crickman self-assigned this Jul 15, 2025
@crickman crickman requested a review from a team as a code owner July 15, 2025 21:01
@moonbox3 moonbox3 added the .NET Issue or Pull requests regarding .NET code label Jul 15, 2025
@github-actions github-actions bot changed the title .NET Fix - Display thread type name in error message .Net Fix - Display thread type name in error message Jul 15, 2025
@crickman crickman enabled auto-merge July 15, 2025 21:21
@crickman crickman added this pull request to the merge queue Jul 16, 2025
Merged via the queue into main with commit a1d70d2 Jul 16, 2025
23 checks passed
@crickman crickman deleted the fix-agent-thread-errormessage branch July 16, 2025 10:28
@github-project-automation github-project-automation bot moved this to Sprint: Done in Semantic Kernel Jul 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
agents .NET Issue or Pull requests regarding .NET code
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

4 participants