@@ -61,6 +61,14 @@ const upstreamRegistry = {
6161 npm : "@ai-sdk/openai" ,
6262 } ,
6363 } ,
64+ "gpt-6-astra" : {
65+ id : "gpt-6-astra" ,
66+ name : "GPT-6 Astra" ,
67+ provider : {
68+ api : "https://api.openai.com/v1" ,
69+ npm : "@ai-sdk/openai" ,
70+ } ,
71+ } ,
6472 "gpt-5" : {
6573 id : "gpt-5" ,
6674 name : "GPT-5" ,
@@ -181,6 +189,7 @@ describe("models registry contract", () => {
181189 expect ( kleis . models ?. [ "gpt-5.5-pro" ] ) . toBeUndefined ( ) ;
182190 expect ( kleis . models ?. [ "gpt-5.6" ] ) . toBeUndefined ( ) ;
183191 expect ( kleis . models ?. [ "gpt-5.6-luna" ] ?. id ) . toBe ( "gpt-5.6-luna" ) ;
192+ expect ( kleis . models ?. [ "gpt-6-astra" ] ?. id ) . toBe ( "gpt-6-astra" ) ;
184193 expect ( kleis . models ?. [ "openai/gpt-5.3-codex" ] ) . toBeUndefined ( ) ;
185194 expect ( kleis . models ?. [ "github-copilot/gpt-5" ] ?. id ) . toBe (
186195 "github-copilot/gpt-5"
@@ -297,7 +306,7 @@ describe("models registry contract", () => {
297306 models ?: Record < string , { id ?: string } > ;
298307 } ;
299308 expect ( openai . env ) . toEqual ( [ "OPENAI_API_KEY" ] ) ;
300- expect ( Object . keys ( openai . models ?? { } ) ) . toHaveLength ( 8 ) ;
309+ expect ( Object . keys ( openai . models ?? { } ) ) . toHaveLength ( 9 ) ;
301310
302311 const kleis = registry . kleis as {
303312 models ?: Record < string , { id ?: string } > ;
@@ -322,7 +331,7 @@ describe("models registry contract", () => {
322331 models ?: Record < string , unknown > ;
323332 } ;
324333 expect ( openai . env ) . toEqual ( [ "OPENAI_API_KEY" ] ) ;
325- expect ( Object . keys ( openai . models ?? { } ) ) . toHaveLength ( 8 ) ;
334+ expect ( Object . keys ( openai . models ?? { } ) ) . toHaveLength ( 9 ) ;
326335
327336 expect ( registry . anthropic ) . toBeDefined ( ) ;
328337 expect ( registry [ "github-copilot" ] ) . toBeDefined ( ) ;
@@ -366,6 +375,7 @@ describe("models registry contract", () => {
366375 "gpt-5.5-pro" ,
367376 "gpt-5.6" ,
368377 "gpt-5.6-luna" ,
378+ "gpt-6-astra" ,
369379 "gpt-5" ,
370380 "text-embedding-3-large" ,
371381 ] ) ;
@@ -422,6 +432,7 @@ describe("models registry contract", () => {
422432 "gpt-5.3-codex-spark" ,
423433 "gpt-5.5" ,
424434 "gpt-5.6-luna" ,
435+ "gpt-6-astra" ,
425436 ] ) ;
426437 } ) ;
427438
0 commit comments