@@ -18,6 +18,7 @@ describe("generateOmoConfig - model fallback system", () => {
1818 hasZaiCodingPlan : false ,
1919 hasKimiForCoding : false ,
2020 hasOpencodeGo : false ,
21+ hasVercelAiGateway : false ,
2122 }
2223
2324 //#when
@@ -42,6 +43,7 @@ describe("generateOmoConfig - model fallback system", () => {
4243 hasZaiCodingPlan : false ,
4344 hasKimiForCoding : false ,
4445 hasOpencodeGo : false ,
46+ hasVercelAiGateway : false ,
4547 }
4648
4749 //#when
@@ -64,14 +66,15 @@ describe("generateOmoConfig - model fallback system", () => {
6466 hasZaiCodingPlan : true ,
6567 hasKimiForCoding : false ,
6668 hasOpencodeGo : false ,
69+ hasVercelAiGateway : false ,
6770 }
6871
6972 //#when
7073 const result = generateOmoConfig ( config )
7174
7275 //#then
7376 expect ( ( result . agents as Record < string , { model : string } > ) . librarian . model ) . toBe ( "zai-coding-plan/glm-4.7" )
74- expect ( ( result . agents as Record < string , { model : string } > ) . sisyphus . model ) . toBe ( "anthropic/claude-opus-4- 6" )
77+ expect ( ( result . agents as Record < string , { model : string } > ) . sisyphus . model ) . toBe ( "anthropic/claude-opus-4. 6" )
7578 } )
7679
7780 test ( "uses native OpenAI models when only ChatGPT available" , ( ) => {
@@ -86,6 +89,7 @@ describe("generateOmoConfig - model fallback system", () => {
8689 hasZaiCodingPlan : false ,
8790 hasKimiForCoding : false ,
8891 hasOpencodeGo : false ,
92+ hasVercelAiGateway : false ,
8993 }
9094
9195 //#when
@@ -110,6 +114,7 @@ describe("generateOmoConfig - model fallback system", () => {
110114 hasZaiCodingPlan : false ,
111115 hasKimiForCoding : false ,
112116 hasOpencodeGo : false ,
117+ hasVercelAiGateway : false ,
113118 }
114119
115120 //#when
@@ -126,7 +131,7 @@ describe("generateOmoConfig - model fallback system", () => {
126131 } >
127132
128133 //#then
129- expect ( agents . sisyphus . model ) . toBe ( "anthropic/claude-opus-4- 6" )
134+ expect ( agents . sisyphus . model ) . toBe ( "anthropic/claude-opus-4. 6" )
130135 expect ( agents . sisyphus . fallback_models ) . toEqual ( [
131136 {
132137 model : "openai/gpt-5.4" ,
@@ -136,7 +141,7 @@ describe("generateOmoConfig - model fallback system", () => {
136141 expect ( categories . deep . model ) . toBe ( "openai/gpt-5.4" )
137142 expect ( categories . deep . fallback_models ) . toEqual ( [
138143 {
139- model : "anthropic/claude-opus-4- 6" ,
144+ model : "anthropic/claude-opus-4. 6" ,
140145 variant : "max" ,
141146 } ,
142147 ] )
@@ -154,6 +159,7 @@ describe("generateOmoConfig - model fallback system", () => {
154159 hasZaiCodingPlan : false ,
155160 hasKimiForCoding : false ,
156161 hasOpencodeGo : false ,
162+ hasVercelAiGateway : false ,
157163 }
158164
159165 //#when
@@ -175,6 +181,7 @@ describe("generateOmoConfig - model fallback system", () => {
175181 hasZaiCodingPlan : false ,
176182 hasKimiForCoding : false ,
177183 hasOpencodeGo : false ,
184+ hasVercelAiGateway : false ,
178185 }
179186
180187 //#when
0 commit comments