Build your personal knowledge base with Trilium Notes
TypeScript electronelectron-appknowledge-baseknowledge-graphknowledge-managementknowledge-management-graphlocal-firstnote-managmentnote-takernote-takingnotebooknotesnotes-apppersonal-knowledge-basepersonal-wikiscriptableself-hostedself-hostingwiki
feat(llm): drop the beta badge from the settled AI providers and the chat note
Elian Doran4447541dfe2f
diff --git a/apps/client/src/services/note_types.spec.ts b/apps/client/src/services/note_types.spec.tsindex 0f31cbe027..df05707cd2 100644--- a/apps/client/src/services/note_types.spec.ts+++ b/apps/client/src/services/note_types.spec.ts@@ -217,12 +217,9 @@ describe("getBlankNoteTypes (via getNoteTypeItems)", () => {const types = cmdItems.map((i: any) => i.type);expect(types).toContain("llmChat");- // llmChat is isBeta only -> exactly one BETA badge (title, no className).+ // llmChat is neither new nor beta, so it carries no badge.const llmChat = cmdItems.find((i: any) => i.type === "llmChat");- expect(llmChat.badges).toHaveLength(1);- expect(llmChat.badges[0].className).toBeUndefined();- expect(typeof llmChat.badges[0].title).toBe("string");- expect(llmChat.badges[0].title.length).toBeGreaterThan(0);+ expect(llmChat.badges).toEqual([]);} finally {restore();}diff --git a/apps/client/src/services/note_types.ts b/apps/client/src/services/note_types.tsindex ff7a661c56..58ffc33adc 100644--- a/apps/client/src/services/note_types.ts+++ b/apps/client/src/services/note_types.ts@@ -51,7 +51,7 @@ export const NOTE_TYPES: NoteTypeMapping[] = [{ type: "relationMap", mime: "application/json", title: t("note_types.relation-map"), icon: "bxs-network-chart" },// Misc note types- { type: "llmChat", mime: "application/json", title: t("note_types.llm-chat"), icon: "bx-message-square-dots", isBeta: true },+ { type: "llmChat", mime: "application/json", title: t("note_types.llm-chat"), icon: "bx-message-square-dots" },{ type: "render", mime: "", title: t("note_types.render-note"), icon: "bx-extension" },{ type: "search", title: t("note_types.saved-search"), icon: "bx-file-find", static: true },{ type: "webView", mime: "", title: t("note_types.web-view"), icon: "bx-globe-alt" },diff --git a/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx b/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsxindex 1895a8103b..e347d072c8 100644--- a/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx+++ b/apps/client/src/widgets/type_widgets/options/llm/AddProviderModal.tsx@@ -116,10 +116,10 @@ export const PROVIDER_TYPES: ProviderType[] = [// Reachable through the custom endpoint card too — it speaks the OpenAI API —// but carded here so its models resolve against the committed price table,// which a nameless endpoint never can.- { id: "deepseek", name: "DeepSeek", group: "cloud", defaultBaseUrl: "https://api.deepseek.com/v1", iconUrl: PROVIDER_ICONS.deepseek, beta: true },+ { id: "deepseek", name: "DeepSeek", group: "cloud", defaultBaseUrl: "https://api.deepseek.com/v1", iconUrl: PROVIDER_ICONS.deepseek },// 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"], 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"), 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"], connectionDescription: t("llm.copilot_agent_description"), beta: true, apiKey: "none", baseUrl: "none", needsHostProcess: true },@@ -133,20 +133,17 @@ export const PROVIDER_TYPES: ProviderType[] = [{id: "ollama", name: "Ollama", group: "local", defaultBaseUrl: "http://localhost:11434", prefillBaseUrl: true,iconUrl: PROVIDER_ICONS.ollama,- setupHintKey: "llm.setup_hint_ollama", apiKey: "none", baseUrl: "required",- beta: true+ setupHintKey: "llm.setup_hint_ollama", apiKey: "none", baseUrl: "required"},{id: "lmstudio", name: "LM Studio", group: "local", defaultBaseUrl: "http://localhost:1234/v1", prefillBaseUrl: true,iconUrl: PROVIDER_ICONS.lmstudio,- setupHintKey: "llm.setup_hint_lmstudio", apiKey: "none", baseUrl: "required",- beta: true+ setupHintKey: "llm.setup_hint_lmstudio", apiKey: "none", baseUrl: "required"},{id: "openai-compatible", name: t("llm.provider_openai_compatible"), group: "custom", defaultBaseUrl: "http://localhost:8080/v1",iconUrl: PROVIDER_ICONS["openai-compatible"], description: t("llm.provider_desc_openai_compatible"),- setupHintKey: "llm.setup_hint_openai_compatible", apiKey: "optional", baseUrl: "required",- beta: true+ setupHintKey: "llm.setup_hint_openai_compatible", apiKey: "optional", baseUrl: "required"}];