Background and motivation
The ReasoningEffort enum was introduced in #7252 however this enum is missing the Minimal value, as supported by OpenAI.
OpenAI recently introduced a reasoning value of None. The ReasoningEffort enum does have a value of None, however it seems that this value is ignored and not passed to the OpenAI library, causing confusion.
The none and minimal values are mentioned in the inital issue #7192
API Proposal
namespace Microsoft.Extensions.AI;
public enum ReasoningEffort
{
None, // this already exists but is ignored
Minimal,
// existing values
}
API Usage
ChatResponse response = await chatClient.GetResponseAsync("Hi", new ChatOptions
{
Reasoning = Reasoning.Minimal,
});
Alternative Designs
No response
Risks
No response
Background and motivation
The ReasoningEffort enum was introduced in #7252 however this enum is missing the Minimal value, as supported by OpenAI.
OpenAI recently introduced a reasoning value of None. The ReasoningEffort enum does have a value of None, however it seems that this value is ignored and not passed to the OpenAI library, causing confusion.
The none and minimal values are mentioned in the inital issue #7192
API Proposal
API Usage
Alternative Designs
No response
Risks
No response