Skip to content

Commit 81512ef

Browse files
committed
chore(inference): keep onboard entrypoint net neutral
Signed-off-by: Carlos Villela <[email protected]>
1 parent 974943e commit 81512ef

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

‎src/lib/onboard.ts‎

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3646,9 +3646,8 @@ async function setupNim(
36463646
hydrateCredentialEnv(credentialEnv);
36473647

36483648
if (selected.key === "build") {
3649-
// Allow NEMOCLAW_PROVIDER_KEY as a fallback for NVIDIA_INFERENCE_API_KEY.
3650-
// Check raw process.env first — NEMOCLAW_PROVIDER_KEY is a user-facing
3651-
// override that should take precedence before resolving from credentials.json.
3649+
// Let NEMOCLAW_PROVIDER_KEY fill the canonical NVIDIA key without
3650+
// overriding an explicit env or migrated legacy credential.
36523651
const _nvProviderKey = (process.env.NEMOCLAW_PROVIDER_KEY || "").trim();
36533652
const existingNvidiaKey =
36543653
getCredential("NVIDIA_INFERENCE_API_KEY") || getCredential("NVIDIA_API_KEY") || "";

0 commit comments

Comments
 (0)