Fix key resolve

This commit is contained in:
ideoutrea
2026-02-05 14:40:56 +08:00
parent ff948a6dd7
commit 4d30f97407

View File

@@ -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)})?`,