From 0b51f0d76241a3c13fd6c652ee9e3589338ab915 Mon Sep 17 00:00:00 2001 From: ideoutrea Date: Fri, 6 Feb 2026 18:16:20 +0800 Subject: [PATCH] Fix conflicts --- src/commands/onboard-non-interactive/local/auth-choice.ts | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/commands/onboard-non-interactive/local/auth-choice.ts b/src/commands/onboard-non-interactive/local/auth-choice.ts index 62c7fe8ed..e4d4e3f0e 100644 --- a/src/commands/onboard-non-interactive/local/auth-choice.ts +++ b/src/commands/onboard-non-interactive/local/auth-choice.ts @@ -257,6 +257,9 @@ export async function applyNonInteractiveAuthChoice(params: { if (!resolved) { return null; } + if (resolved.source !== "profile") { + setXaiApiKey(resolved.key); + } nextConfig = applyAuthProfileConfig(nextConfig, { profileId: "xai:default", provider: "xai",