From b45a1d674d5c672a6858495ca46d06471cd2e9ed Mon Sep 17 00:00:00 2001 From: Gustavo Madeira Santana Date: Tue, 10 Feb 2026 07:24:24 -0500 Subject: [PATCH] Onboard: clarify default base URL name (#11106) (thanks @MackDing) --- src/commands/onboard-custom.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/commands/onboard-custom.ts b/src/commands/onboard-custom.ts index ffbe8bcb66..c0d4645434 100644 --- a/src/commands/onboard-custom.ts +++ b/src/commands/onboard-custom.ts @@ -8,7 +8,7 @@ import { fetchWithTimeout } from "../utils/fetch-timeout.js"; import { applyPrimaryModel } from "./model-picker.js"; import { normalizeAlias } from "./models/shared.js"; -const DEFAULT_OPENAI_BASE_URL = "http://127.0.0.1:11434/v1"; +const DEFAULT_OLLAMA_BASE_URL = "http://127.0.0.1:11434/v1"; const DEFAULT_CONTEXT_WINDOW = 4096; const DEFAULT_MAX_TOKENS = 4096; const VERIFY_TIMEOUT_MS = 10000; @@ -227,7 +227,7 @@ async function promptBaseUrlAndKey(params: { }): Promise<{ baseUrl: string; apiKey: string }> { const baseUrlInput = await params.prompter.text({ message: "API Base URL", - initialValue: params.initialBaseUrl ?? DEFAULT_OPENAI_BASE_URL, + initialValue: params.initialBaseUrl ?? DEFAULT_OLLAMA_BASE_URL, placeholder: "https://api.example.com/v1", validate: (val) => { try {