From 739333487fed4901b154631fba0a85cda2b4e48f Mon Sep 17 00:00:00 2001 From: Firat Sertgoz Date: Mon, 26 Jan 2026 22:01:20 +0400 Subject: [PATCH] fix: change profileId to nearai:default per review --- src/commands/auth-choice.apply.api-providers.ts | 2 +- src/commands/onboard-auth.credentials.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/auth-choice.apply.api-providers.ts b/src/commands/auth-choice.apply.api-providers.ts index 15d5eaceb..4b849fa97 100644 --- a/src/commands/auth-choice.apply.api-providers.ts +++ b/src/commands/auth-choice.apply.api-providers.ts @@ -566,7 +566,7 @@ export async function applyAuthChoiceApiProviders( await setNearAiApiKey(normalizeApiKeyInput(String(key)), params.agentDir); } nextConfig = applyAuthProfileConfig(nextConfig, { - profileId: "near-ai:default", + profileId: "nearai:default", provider: "near-ai", mode: "api_key", }); diff --git a/src/commands/onboard-auth.credentials.ts b/src/commands/onboard-auth.credentials.ts index 07731b10f..bbf0b14dd 100644 --- a/src/commands/onboard-auth.credentials.ts +++ b/src/commands/onboard-auth.credentials.ts @@ -115,7 +115,7 @@ export async function setVeniceApiKey(key: string, agentDir?: string) { export async function setNearAiApiKey(key: string, agentDir?: string) { // Write to resolved agent dir so gateway finds credentials on startup. upsertAuthProfile({ - profileId: "near-ai:default", + profileId: "nearai:default", credential: { type: "api_key", provider: "near-ai",