File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -275,8 +275,11 @@ const result = resolveWindowsProviderAuth({
275275});
276276console.log(JSON.stringify(result));
277277` ;
278- expect ( JSON . parse ( runTsEval ( source , { OPENAI_API_KEY : "sk-openai" } ) ) ) . toMatchObject ( {
278+ expect ( JSON . parse ( runTsEval ( source , { OPENAI_API_KEY : "sk-openai" } ) ) ) . toEqual ( {
279279 apiKeyEnv : "OPENAI_API_KEY" ,
280+ apiKeyValue : "sk-openai" ,
281+ authChoice : "openai-api-key" ,
282+ authKeyFlag : "openai-api-key" ,
280283 modelId : "openai/gpt-5.5" ,
281284 } ) ;
282285
@@ -287,7 +290,11 @@ console.log(JSON.stringify(result));
287290 OPENCLAW_PARALLELS_WINDOWS_OPENAI_MODEL : "openai/custom-windows" ,
288291 } ) ,
289292 ) ,
290- ) . toMatchObject ( {
293+ ) . toEqual ( {
294+ apiKeyEnv : "OPENAI_API_KEY" ,
295+ apiKeyValue : "sk-openai" ,
296+ authChoice : "openai-api-key" ,
297+ authKeyFlag : "openai-api-key" ,
291298 modelId : "openai/custom-windows" ,
292299 } ) ;
293300 } ) ;
You can’t perform that action at this time.
0 commit comments