From 068366d4ec1d801a823884930768d868f50061bc Mon Sep 17 00:00:00 2001 From: Charan Jagwani Date: Tue, 7 Apr 2026 08:54:58 -0700 Subject: [PATCH] fix(cli): remove /api/v1 from custom endpoint base URL hint (#1171) The onboard wizard's "Other OpenAI-compatible endpoint" prompt showed `https://openrouter.ai/api/v1` as the example base URL. The SDK appends `/api/v1` internally, so users who followed the hint got a doubled path and a misleading 429 error. Drop the path suffix from the example so users enter just the hostname. Closes #1171 Co-Authored-By: Claude Opus 4.6 (1M context) --- bin/lib/onboard.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/lib/onboard.js b/bin/lib/onboard.js index 65d839bab..a536237b5 100644 --- a/bin/lib/onboard.js +++ b/bin/lib/onboard.js @@ -2338,7 +2338,7 @@ async function setupNim(gpu) { if (selected.key === "custom") { const endpointInput = isNonInteractive() ? (process.env.NEMOCLAW_ENDPOINT_URL || "").trim() - : await prompt(" OpenAI-compatible base URL (e.g., https://openrouter.ai/api/v1): "); + : await prompt(" OpenAI-compatible base URL (e.g., https://openrouter.ai): "); const navigation = getNavigationChoice(endpointInput); if (navigation === "back") { console.log(" Returning to provider selection.");