diff --git a/src/commands/auth-choice.apply.api-providers.ts b/src/commands/auth-choice.apply.api-providers.ts index 462ed0e77..7bb791389 100644 --- a/src/commands/auth-choice.apply.api-providers.ts +++ b/src/commands/auth-choice.apply.api-providers.ts @@ -819,7 +819,7 @@ export async function applyAuthChoiceApiProviders( "QIANFAN", ); } - const envKey = resolveEnvApiKey("qianfan-api-key"); + const envKey = resolveEnvApiKey("qianfan"); if (envKey) { const useExisting = await params.prompter.confirm({ message: `Use existing QIANFAN_API_KEY (${envKey.source}, ${formatApiKeyPreview(envKey.apiKey)})?`,