fix: run auth plugins and provider config for all providers, not just gemini
Closes #1876
This commit is contained in:
parent
67efe2d7af
commit
5c9ef7bb1c
@ -77,7 +77,9 @@ export async function runCliInstaller(args: InstallArgs, version: string): Promi
|
|||||||
`Plugin ${isUpdate ? "verified" : "added"} ${SYMBOLS.arrow} ${color.dim(pluginResult.configPath)}`,
|
`Plugin ${isUpdate ? "verified" : "added"} ${SYMBOLS.arrow} ${color.dim(pluginResult.configPath)}`,
|
||||||
)
|
)
|
||||||
|
|
||||||
if (config.hasGemini) {
|
const needsProviderSetup = config.hasGemini || config.hasOpenAI || config.hasCopilot
|
||||||
|
|
||||||
|
if (needsProviderSetup) {
|
||||||
printStep(step++, totalSteps, "Adding auth plugins...")
|
printStep(step++, totalSteps, "Adding auth plugins...")
|
||||||
const authResult = await addAuthPlugins(config)
|
const authResult = await addAuthPlugins(config)
|
||||||
if (!authResult.success) {
|
if (!authResult.success) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user