Onboard: rename Custom API Endpoint to Custom Provider

This commit is contained in:
Gustavo Madeira Santana
2026-02-10 07:36:04 -05:00
parent c0befdee0b
commit 2914cb1d48
6 changed files with 8 additions and 8 deletions

View File

@@ -151,7 +151,7 @@ const AUTH_CHOICE_GROUP_DEFS: {
},
{
value: "custom",
label: "Custom API Endpoint",
label: "Custom Provider",
hint: "Any OpenAI or Anthropic compatible endpoint",
choices: ["custom-api-key"],
},
@@ -259,7 +259,7 @@ export function buildAuthChoiceOptions(params: {
label: "MiniMax M2.1 Lightning",
hint: "Faster, higher output cost",
});
options.push({ value: "custom-api-key", label: "Custom API Endpoint" });
options.push({ value: "custom-api-key", label: "Custom Provider" });
if (params.includeSkip) {
options.push({ value: "skip", label: "Skip for now" });

View File

@@ -422,7 +422,7 @@ export async function promptCustomApiConfig(params: {
const hasModel = existingModels.some((model) => model.id === modelId);
const nextModel = {
id: modelId,
name: `${modelId} (Custom API)`,
name: `${modelId} (Custom Provider)`,
contextWindow: DEFAULT_CONTEXT_WINDOW,
maxTokens: DEFAULT_MAX_TOKENS,
input: ["text"] as ["text"],