Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/Custom/Chat/ChatCompletionOptions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -153,7 +153,7 @@ public partial class ChatCompletionOptions
// - Renamed.
/// <summary>
/// (o1 and newer reasoning models only) Constrains effort on reasoning for reasoning models.
/// Currently supported values are <see cref="ChatReasoningEffortLevel.Low"/>, <see cref="ChatReasoningEffortLevel.Medium"/>, and <see cref="ChatReasoningEffortLevel.High"/>.
/// Currently supported values are <see cref="ChatReasoningEffortLevel.Minimal"/>, <see cref="ChatReasoningEffortLevel.Low"/>, <see cref="ChatReasoningEffortLevel.Medium"/>, and <see cref="ChatReasoningEffortLevel.High"/>.
/// Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning in a response.
/// </summary>
[Experimental("OPENAI001")]
Expand Down
3 changes: 3 additions & 0 deletions src/Generated/Models/Chat/ChatReasoningEffortLevel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ namespace OpenAI.Chat
public readonly partial struct ChatReasoningEffortLevel : IEquatable<ChatReasoningEffortLevel>
{
private readonly string _value;
private const string MinimalValue = "minimal";
private const string LowValue = "low";
private const string MediumValue = "medium";
private const string HighValue = "high";
Expand All @@ -24,6 +25,8 @@ public ChatReasoningEffortLevel(string value)
_value = value;
}

public static ChatReasoningEffortLevel Minimal { get; } = new ChatReasoningEffortLevel(MinimalValue);

public static ChatReasoningEffortLevel Low { get; } = new ChatReasoningEffortLevel(LowValue);

public static ChatReasoningEffortLevel Medium { get; } = new ChatReasoningEffortLevel(MediumValue);
Expand Down