From 4d30f97407a75168a9d7e7683ad2158ee3b3d22c Mon Sep 17 00:00:00 2001 From: ideoutrea Date: Thu, 5 Feb 2026 14:40:56 +0800 Subject: [PATCH] Fix key resolve --- src/commands/auth-choice.apply.api-providers.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)})?`,