fix: support direct token and provider in auth apply commands (#1485)

This commit is contained in:
Ian Hildebrand authored and GitHub committed 2026-01-23 07:27:52 +00:00
1 parent 60a60779d7
commit ff78e9a564
5 files changed
+140 -34

No files matched your search

+4
View File
@@ -356,6 +356,10 @@ export async function runOnboardingWizard(
prompter,
runtime,
setDefaultModel: true,
opts: {
tokenProvider: opts.tokenProvider,
token: opts.authChoice === "apiKey" && opts.token ? opts.token : undefined,
},
});
nextConfig = authResult.config;