@@ -46,7 +46,7 @@ using var client = new CodexClient();
4646
4747var thread = client .StartThread (new ThreadOptions
4848{
49- Model = CodexModels .Gpt53Codex ,
49+ Model = CodexModels .Gpt54 ,
5050 ModelReasoningEffort = ModelReasoningEffort .Medium ,
5151});
5252
@@ -72,7 +72,7 @@ using var client = new CodexClient(new CodexClientOptions
7272
7373var thread = client .StartThread (new ThreadOptions
7474{
75- Model = CodexModels .Gpt53Codex ,
75+ Model = CodexModels .Gpt54 ,
7676 ModelReasoningEffort = ModelReasoningEffort .High ,
7777 SandboxMode = SandboxMode .WorkspaceWrite ,
7878});
@@ -281,7 +281,7 @@ using ManagedCode.CodexSharpSDK.Extensions.AI;
281281
282282IChatClient client = new CodexChatClient (new CodexChatClientOptions
283283{
284- DefaultModel = CodexModels .Gpt53Codex ,
284+ DefaultModel = CodexModels .Gpt54 ,
285285});
286286
287287var response = await client .GetResponseAsync (" Diagnose failing tests and propose a fix" );
@@ -295,7 +295,7 @@ using ManagedCode.CodexSharpSDK.Extensions.AI.Extensions;
295295
296296builder .Services .AddCodexChatClient (options =>
297297{
298- options .DefaultModel = CodexModels .Gpt53Codex ;
298+ options .DefaultModel = CodexModels .Gpt54 ;
299299});
300300
301301// Then inject IChatClient anywhere:
@@ -317,7 +317,7 @@ using ManagedCode.CodexSharpSDK.Extensions.AI.Extensions;
317317var services = new ServiceCollection ();
318318services .AddCodexChatClient (options =>
319319{
320- options .DefaultModel = CodexModels .Gpt53Codex ;
320+ options .DefaultModel = CodexModels .Gpt54 ;
321321});
322322
323323using var provider = services .BuildServiceProvider ();
@@ -335,7 +335,7 @@ using ManagedCode.CodexSharpSDK.Extensions.AI.Extensions;
335335var services = new ServiceCollection ();
336336services .AddKeyedCodexChatClient (" codex-main" , options =>
337337{
338- options .DefaultModel = CodexModels .Gpt53Codex ;
338+ options .DefaultModel = CodexModels .Gpt54 ;
339339});
340340
341341using var provider = services .BuildServiceProvider ();
@@ -356,7 +356,7 @@ await foreach (var update in client.GetStreamingResponseAsync("Implement the fix
356356``` csharp
357357var options = new ChatOptions
358358{
359- ModelId = CodexModels .Gpt53Codex ,
359+ ModelId = CodexModels .Gpt54 ,
360360 AdditionalProperties = new AdditionalPropertiesDictionary
361361 {
362362 [" codex:sandbox_mode" ] = " workspace-write" ,
0 commit comments