mirror of
https://github.com/farcasclaudiu/openclaw.git
synced 2026-06-28 21:01:43 +03:00
Fix key resolve
This commit is contained in:
@@ -819,7 +819,7 @@ export async function applyAuthChoiceApiProviders(
|
|||||||
"QIANFAN",
|
"QIANFAN",
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
const envKey = resolveEnvApiKey("qianfan-api-key");
|
const envKey = resolveEnvApiKey("qianfan");
|
||||||
if (envKey) {
|
if (envKey) {
|
||||||
const useExisting = await params.prompter.confirm({
|
const useExisting = await params.prompter.confirm({
|
||||||
message: `Use existing QIANFAN_API_KEY (${envKey.source}, ${formatApiKeyPreview(envKey.apiKey)})?`,
|
message: `Use existing QIANFAN_API_KEY (${envKey.source}, ${formatApiKeyPreview(envKey.apiKey)})?`,
|
||||||
|
|||||||
Reference in New Issue
Block a user