fix: support direct token and provider in auth apply commands (#1485)
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user