Skip to content

Build your personal knowledge base with Trilium Notes

refactor(llm): describe the subscription group once, in two columns

Elian Dorana7c6e0d451d6
diff --git a/apps/client/src/translations/en/translation.json b/apps/client/src/translations/en/translation.json
index acac138149..ba9a461a30 100644
--- a/apps/client/src/translations/en/translation.json
+++ b/apps/client/src/translations/en/translation.json
@@ -4037,9 +4037,6 @@
"no_providers_configured": "No providers configured yet.",
"provider_name": "Name",
"beta": "Beta",
- "provider_desc_claude_agent": "Requires Claude Code on the machine running Trilium.",
- "provider_desc_copilot_agent": "Requires the GitHub Copilot CLI on the machine running Trilium.",
- "provider_desc_antigravity_agent": "Requires Google's Antigravity ACP server on the machine running Trilium.",
"provider_unavailable_standalone": "Unavailable in the browser version: this provider works by running a separate program on the machine, and there is no machine here to run it on.",
"actions": "Actions",
"delete_provider": "Delete",
@@ -4056,7 +4053,7 @@
"provider_group_cloud": "Cloud providers",
"provider_group_cloud_description": "Pay per use with an API key, billed separately from any subscription you already have. Your notes are sent to the provider's servers.",
"provider_group_subscription": "Subscription",
- "provider_group_subscription_description": "Reuses a subscription you already pay for, at no extra cost. Your notes are sent to the provider's servers.",
+ "provider_group_subscription_description": "Uses an account you already have instead of an API key, at no extra cost: Claude Pro/Max, GitHub Copilot or a Google account. The provider's program must be installed on the machine running Trilium, and your notes are sent to the provider's servers.",
"provider_group_local": "Local / self-hosted",
"provider_group_local_description": "No API key, no usage cost. Your notes only reach the machine running the model.",
"provider_group_custom": "Custom endpoint",
diff --git a/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx b/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx
index 609564e802..1895a8103b 100644
--- a/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx
+++ b/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx
@@ -99,7 +99,7 @@ export interface ProviderType {
*/
const PROVIDER_GROUPS = [
{ id: "cloud", columns: 2, headingKey: "llm.provider_group_cloud", descriptionKey: "llm.provider_group_cloud_description" },
- { id: "subscription", columns: 3, headingKey: "llm.provider_group_subscription", descriptionKey: "llm.provider_group_subscription_description" },
+ { id: "subscription", columns: 2, headingKey: "llm.provider_group_subscription", descriptionKey: "llm.provider_group_subscription_description" },
{ id: "local", columns: 2, headingKey: "llm.provider_group_local", descriptionKey: "llm.provider_group_local_description" },
// Kept apart from the local runtimes: the same card reaches a hosted
// OpenAI-compatible service (OpenRouter, Groq, …), so neither "no usage cost"
@@ -119,13 +119,13 @@ export const PROVIDER_TYPES: ProviderType[] = [
{ id: "deepseek", name: "DeepSeek", group: "cloud", defaultBaseUrl: "https://api.deepseek.com/v1", iconUrl: PROVIDER_ICONS.deepseek, beta: true },
// Uses the Claude Agent SDK on the server; auth belongs to Claude Code (`claude /login`),
// and usage is covered by the subscription rather than charged per token.
- { id: "claude-agent", name: "Claude Code", group: "subscription", defaultBaseUrl: "", iconUrl: PROVIDER_ICONS["claude-agent"], description: t("llm.provider_desc_claude_agent"), connectionDescription: t("llm.claude_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },
+ { id: "claude-agent", name: "Claude Code", group: "subscription", defaultBaseUrl: "", iconUrl: PROVIDER_ICONS["claude-agent"], connectionDescription: t("llm.claude_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },
// The same arrangement over the GitHub Copilot CLI, driven in its ACP mode;
// auth belongs to the CLI (`copilot login`).
- { id: "copilot-agent", name: "GitHub Copilot", group: "subscription", defaultBaseUrl: "", iconUrl: PROVIDER_ICONS["copilot-agent"], description: t("llm.provider_desc_copilot_agent"), connectionDescription: t("llm.copilot_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },
+ { id: "copilot-agent", name: "GitHub Copilot", group: "subscription", defaultBaseUrl: "", iconUrl: PROVIDER_ICONS["copilot-agent"], connectionDescription: t("llm.copilot_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },
// Gemini on a Google account through Google's Antigravity ACP server; the server
// signs in itself, opening the Google sign-in page the first time models are listed.
- { id: "antigravity-agent", name: "Google Antigravity", group: "subscription", defaultBaseUrl: "", iconUrl: PROVIDER_ICONS["antigravity-agent"], description: t("llm.provider_desc_antigravity_agent"), connectionDescription: t("llm.antigravity_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },
+ { id: "antigravity-agent", name: "Google Antigravity", group: "subscription", defaultBaseUrl: "", iconUrl: PROVIDER_ICONS["antigravity-agent"], connectionDescription: t("llm.antigravity_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },
// The three self-hosted cards share one server-side provider; they differ only in
// the endpoint they prefill and the setup hint they show.
// No blurbs: the group heading already says local/self-hosted, and how to start