Skip to content

Conversation

@cyh0530
Copy link

@cyh0530 cyh0530 commented Dec 5, 2025

Motivation and Context

With gpt-5.1, it introduced a new reasoning effort "none". With the existing code, we will get NotSupportedException when trying to set the reasoning effort to none. Follow the same pattern in #12989 to create a "none" option until openai-dotnet supports it.

Description

Add a new effort level to the switch case to allow "none" as an option as a temporary solution until openai-dotnet supports ChatReasoningEffortLevel.None.

Also refactored the minimal effort to use ChatReasoningEffortLevel.Minimal as it is available, and reorder the test and description so the effort is from the lowest to the highest.

Contribution Checklist

@cyh0530 cyh0530 requested a review from a team as a code owner December 5, 2025 02:47
@cyh0530
Copy link
Author

cyh0530 commented Dec 5, 2025

@microsoft-github-policy-service agree

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant