@@ -239,30 +239,36 @@ describe("Codex agent harness supports()", () => {
239239 expect ( ! result . supported ? result . reason : undefined ) . toContain ( "not declared" ) ;
240240 } ) ;
241241
242- it ( "lets explicitly selected Codex discover unlisted models with its own account" , ( ) => {
243- expect (
244- harness . supports ( {
245- provider : "openai" ,
246- modelId : "gpt-future" ,
247- requestedRuntime : "codex" ,
248- modelProvider : {
249- requestTransportOverrides : "none" ,
250- preparedAuth : { source : "harness" } ,
251- } ,
252- } ) ,
253- ) . toEqual ( { supported : true , priority : 100 } ) ;
254- } ) ;
255-
256- it ( "lets explicit Codex model discovery run before auth has been prepared" , ( ) => {
257- expect (
258- harness . supports ( {
259- provider : "openai" ,
260- modelId : "gpt-future" ,
261- requestedRuntime : "codex" ,
262- modelProvider : { requestTransportOverrides : "none" } ,
263- } ) ,
264- ) . toEqual ( { supported : true , priority : 100 } ) ;
265- } ) ;
242+ it . each ( [ "gpt-future" , "umbreon-latest" ] ) (
243+ "lets explicitly selected Codex discover %s with its own account" ,
244+ ( modelId ) => {
245+ expect (
246+ harness . supports ( {
247+ provider : "openai" ,
248+ modelId,
249+ requestedRuntime : "codex" ,
250+ modelProvider : {
251+ requestTransportOverrides : "none" ,
252+ preparedAuth : { source : "harness" } ,
253+ } ,
254+ } ) ,
255+ ) . toEqual ( { supported : true , priority : 100 } ) ;
256+ } ,
257+ ) ;
258+
259+ it . each ( [ "gpt-future" , "umbreon-latest" ] ) (
260+ "lets explicit Codex discovery of %s run before auth has been prepared" ,
261+ ( modelId ) => {
262+ expect (
263+ harness . supports ( {
264+ provider : "openai" ,
265+ modelId,
266+ requestedRuntime : "codex" ,
267+ modelProvider : { requestTransportOverrides : "none" } ,
268+ } ) ,
269+ ) . toEqual ( { supported : true , priority : 100 } ) ;
270+ } ,
271+ ) ;
266272
267273 it . each ( [
268274 {
0 commit comments