diff --git a/OpenAI-DotNet/Chat/ChatRequest.cs b/OpenAI-DotNet/Chat/ChatRequest.cs index c8fd3c24..0bf10b65 100644 --- a/OpenAI-DotNet/Chat/ChatRequest.cs +++ b/OpenAI-DotNet/Chat/ChatRequest.cs @@ -151,7 +151,7 @@ public ChatRequest( /// /// Constrains the effort of reasoning for Reasoning Models.
/// Currently supported values are: Low, Medium, High. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning response.
- /// o1 models only! + /// Reasoning models only! /// /// /// A unique identifier representing your end-user, which can help OpenAI to monitor and detect abuse. @@ -258,7 +258,7 @@ public ChatRequest( /// Currently supported values are: Low, Medium, High. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning response. /// /// - /// o1 models only! + /// Reasoning models only! /// [JsonPropertyName("reasoning_effort")] [JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingNull)] diff --git a/OpenAI-DotNet/Common/ReasoningEffort.cs b/OpenAI-DotNet/Common/ReasoningEffort.cs index 9a4a262f..ab2da4e3 100644 --- a/OpenAI-DotNet/Common/ReasoningEffort.cs +++ b/OpenAI-DotNet/Common/ReasoningEffort.cs @@ -9,7 +9,7 @@ namespace OpenAI /// Currently supported values are: Low, Medium, High. Reducing reasoning effort can result in faster responses and fewer tokens used on reasoning response. /// /// - /// o1 models only! + /// Reasoning models only! /// public enum ReasoningEffort { diff --git a/OpenAI-DotNet/Models/Model.cs b/OpenAI-DotNet/Models/Model.cs index 5467c925..755bd055 100644 --- a/OpenAI-DotNet/Models/Model.cs +++ b/OpenAI-DotNet/Models/Model.cs @@ -77,6 +77,8 @@ public Model(string id, string ownedBy = null) public static Model O1Mini { get; } = new("o1-mini", "openai"); + public static Model O3Mini { get; } = new("o3-mini", "openai"); + public static Model GPT4oRealtime { get; } = new("gpt-4o-realtime-preview", "openai"); /// diff --git a/OpenAI-DotNet/OpenAI-DotNet.csproj b/OpenAI-DotNet/OpenAI-DotNet.csproj index 528965c2..7e3d282c 100644 --- a/OpenAI-DotNet/OpenAI-DotNet.csproj +++ b/OpenAI-DotNet/OpenAI-DotNet.csproj @@ -32,7 +32,7 @@ More context [on Roger Pincombe's blog](https://rogerpincombe.com/openai-dotnet- 8.5.4 Version 8.5.4 -- Update ChatRequest to support 03 series reasoning models +- Update ChatRequest to support o3 series reasoning models Version 8.5.3 - Fix JsonStringEnumConverter for ChatRequests Version 8.5.1