@@ -32,12 +32,12 @@ describe("Box.create", () => {
3232
3333 await Box . create ( {
3434 ...TEST_CONFIG ,
35- agent : { harness : Agent . Codex , model : OpenAICodex . GPT_5_4_Codex , apiKey : "k" } ,
35+ agent : { harness : Agent . Codex , model : OpenAICodex . GPT_5_4 , apiKey : "k" } ,
3636 } ) ;
3737
3838 const body = JSON . parse ( vi . mocked ( fetch ) . mock . calls [ 0 ] ! [ 1 ] ?. body as string ) ;
3939 expect ( body . agent ) . toBe ( Agent . Codex ) ;
40- expect ( body . model ) . toBe ( OpenAICodex . GPT_5_4_Codex ) ;
40+ expect ( body . model ) . toBe ( OpenAICodex . GPT_5_4 ) ;
4141 } ) ;
4242
4343 it ( "supports deprecated provider field" , async ( ) => {
@@ -46,12 +46,12 @@ describe("Box.create", () => {
4646
4747 await Box . create ( {
4848 ...TEST_CONFIG ,
49- agent : { provider : Agent . Codex , model : OpenAICodex . GPT_5_4_Codex , apiKey : "k" } ,
49+ agent : { provider : Agent . Codex , model : OpenAICodex . GPT_5_4 , apiKey : "k" } ,
5050 } ) ;
5151
5252 const body = JSON . parse ( vi . mocked ( fetch ) . mock . calls [ 0 ] ! [ 1 ] ?. body as string ) ;
5353 expect ( body . agent ) . toBe ( Agent . Codex ) ;
54- expect ( body . model ) . toBe ( OpenAICodex . GPT_5_4_Codex ) ;
54+ expect ( body . model ) . toBe ( OpenAICodex . GPT_5_4 ) ;
5555 } ) ;
5656
5757 it ( "supports deprecated runner field" , async ( ) => {
@@ -63,9 +63,9 @@ describe("Box.create", () => {
6363 agent : {
6464 provider : Agent . Codex ,
6565 runner : "ignored" ,
66- model : OpenAICodex . GPT_5_4_Codex ,
66+ model : OpenAICodex . GPT_5_4 ,
6767 apiKey : "k" ,
68- } ,
68+ } as any ,
6969 } ) ;
7070
7171 const body = JSON . parse ( vi . mocked ( fetch ) . mock . calls [ 0 ] ! [ 1 ] ?. body as string ) ;
@@ -97,7 +97,7 @@ describe("Box.create", () => {
9797
9898 await Box . create ( {
9999 ...TEST_CONFIG ,
100- agent : { runner : "codex" , model : "openai/gpt-5.4-codex " , apiKey : "k" } as any ,
100+ agent : { runner : "codex" , model : "openai/gpt-5.4" , apiKey : "k" } as any ,
101101 } ) ;
102102
103103 const body = JSON . parse ( vi . mocked ( fetch ) . mock . calls [ 0 ] ! [ 1 ] ?. body as string ) ;
@@ -108,7 +108,7 @@ describe("Box.create", () => {
108108 await expect (
109109 Box . create ( {
110110 ...TEST_CONFIG ,
111- agent : { model : "openai/gpt-5.4-codex " , apiKey : "k" } as any ,
111+ agent : { model : "openai/gpt-5.4" , apiKey : "k" } as any ,
112112 } ) ,
113113 ) . rejects . toThrow (
114114 "agent.harness is required. Deprecated aliases agent.provider and agent.runner are still accepted." ,
0 commit comments