Skip to content

Open-source Grok Bot alternative with a virtual machine that bots can use

train: thread titles just work, with no title settings rows

milind-soni32c7393b3d4f
diff --git a/server/side-jobs.ts b/server/side-jobs.ts
index 2bc9f486c4..6eaeb4d239 100644
--- a/server/side-jobs.ts
+++ b/server/side-jobs.ts
@@ -180,7 +180,8 @@ export function createSideJobs(deps: SideJobsDeps): SideJobs {
return call(prompt, {
...options,
...generation,
- ...(job === "thread-title" ? { finalTextOnly: true } : {}),
+ // The thread a title is for also fills a server's {threadId} request header.
+ ...(job === "thread-title" ? { finalTextOnly: true, threadId: bot.threadId } : {}),
...(checkModel ? { checkModel: (model: string) => {
checkModel(model);
deps.assertWithinBudget(budgetBot);
diff --git a/src/components/settings/pages/FeaturesPage.test.ts b/src/components/settings/pages/FeaturesPage.test.ts
deleted file mode 100644
index 156dcf08d4..0000000000
--- a/src/components/settings/pages/FeaturesPage.test.ts
+++ /dev/null
@@ -1,51 +0,0 @@
-// @vitest-environment happy-dom
-import { act, createElement } from "react";
-import { createRoot, type Root } from "react-dom/client";
-import { afterEach, beforeEach, expect, it, vi } from "vitest";
-
-const fixture = vi.hoisted(() => ({
- state: {
- config: { features: {}, threadTitles: { model: null as { instanceId: string; model: string } | null, followUp: false, instances: ["claude"] } },
- instances: [{ instanceId: "claude", displayName: "Claude", snapshot: { state: "available", authenticated: true },
- models: { options: [{ id: "sonnet", label: "Sonnet" }] } }],
- },
- api: vi.fn(), dispatch: vi.fn(), advanced: true,
-}));
-vi.mock("@/lib/interface-mode", () => ({ useAdvancedMode: () => fixture.advanced }));
-vi.mock("@/state/store", async (importOriginal) => ({ ...(await importOriginal<typeof import("@/state/store")>()), api: fixture.api }));
-vi.mock("@/state/store-select", () => ({ useStoreDispatch: () => fixture.dispatch, useStoreSelector: (select: (state: typeof fixture.state) => unknown) => select(fixture.state) }));
-const { FeaturesPage } = await import("./FeaturesPage");
-(globalThis as { IS_REACT_ACT_ENVIRONMENT?: boolean }).IS_REACT_ACT_ENVIRONMENT = true;
-let host: HTMLDivElement;
-let root: Root;
-beforeEach(() => {
- fixture.api.mockReset(); fixture.dispatch.mockReset(); fixture.advanced = true;
- fixture.state.config.threadTitles = { model: null, followUp: false, instances: ["claude"] };
- host = document.createElement("div"); document.body.append(host); root = createRoot(host);
-});
-afterEach(() => { act(() => root.unmount()); host.remove(); });
-
-it("saves the chosen title model and the follow-up switch independently", async () => {
- fixture.api.mockResolvedValue(fixture.state.config);
- await act(async () => root.render(createElement(FeaturesPage)));
- const select = host.querySelector("select")!;
- expect([...select.options].map((option) => option.textContent)).toEqual(expect.arrayContaining(["Automatic", "Claude · Sonnet"]));
- await act(async () => { select.value = JSON.stringify(["claude", "sonnet"]); select.dispatchEvent(new Event("change", { bubbles: true })); });
- expect(fixture.api).toHaveBeenLastCalledWith("/api/config", expect.objectContaining({ method: "PATCH", body: JSON.stringify({ threadTitles: { model: { instanceId: "claude", model: "sonnet" } } }) }));
- await act(async () => { (host.querySelector('[role="switch"]') as HTMLButtonElement).click(); });
- expect(fixture.api).toHaveBeenLastCalledWith("/api/config", expect.objectContaining({ method: "PATCH", body: JSON.stringify({ threadTitles: { followUp: true } }) }));
-});
-
-it("reports a failed setting change", async () => {
- fixture.api.mockRejectedValue(new Error("offline"));
- await act(async () => root.render(createElement(FeaturesPage)));
- await act(async () => { (host.querySelector('[role="switch"]') as HTMLButtonElement).click(); });
- expect(host.querySelector('[role="alert"]')?.textContent).toBeTruthy();
-});
-
-it("keeps the title model and follow-up titles out of Simple mode", async () => {
- fixture.advanced = false;
- await act(async () => root.render(createElement(FeaturesPage)));
- expect(host.querySelector("select")).toBeNull();
- expect(host.textContent).not.toContain("Update thread titles");
-});
diff --git a/src/components/settings/pages/FeaturesPage.tsx b/src/components/settings/pages/FeaturesPage.tsx
index 78fd7a9402..e28763d886 100644
--- a/src/components/settings/pages/FeaturesPage.tsx
+++ b/src/components/settings/pages/FeaturesPage.tsx
@@ -1,12 +1,11 @@
-import { useId, useState } from "react";
+import { useState } from "react";
import type { LocaleKey } from "@/locales";
import { t } from "@/lib/i18n";
-import { useAdvancedMode } from "@/lib/interface-mode";
import { useFeature, type Feature } from "@/lib/use-feature";
import { api, type ConfigStatus } from "@/state/store";
import { useStoreDispatch, useStoreSelector } from "@/state/store-select";
-import { Select } from "../../Select";
import { SettingRow, SettingsGroup, SettingsRows, Switch } from "../../SettingsPrimitives";
+import { useSettingsShell } from "../settings-shell";
const COPY: Record<Feature, { title: LocaleKey; line: LocaleKey }> = {
skillBurger: { title: "settings.features.skillBurger", line: "settings.features.skillBurgerLine" },
@@ -46,103 +45,17 @@ function FeatureRow({ name }: { name: Feature }) {
);
}
-type ThreadTitles = NonNullable<ConfigStatus["threadTitles"]>;
-type TitleModel = NonNullable<ThreadTitles["model"]>;
-type ThreadTitlesPatch = Pick<ThreadTitles, "model"> | Pick<ThreadTitles, "followUp">;
-
-function titleModelKey({ instanceId, model }: TitleModel) {
- return JSON.stringify([instanceId, model]);
-}
-
-function ThreadTitleRows() {
- const titles = useStoreSelector((state) => state.config?.threadTitles);
- const instances = useStoreSelector((state) => state.instances);
- const dispatch = useStoreDispatch();
- const id = useId();
- const [feedback, setFeedback] = useState<{ field: "model" | "followUp"; saving: boolean } | null>(null);
- if (!titles) return null;
-
- const saving = feedback?.saving === true;
- const choices = instances
- .filter((instance) => titles.instances.includes(instance.instanceId) && instance.snapshot.state === "available" && !instance.policy)
- .flatMap((instance) => instance.models.options
- .filter((model) => !model.orgBlocked && !model.needsCliUpdate && (instance.snapshot.authenticated !== false || model.custom))
- .map((model) => {
- const selection = { instanceId: instance.instanceId, model: model.id };
- return {
- key: titleModelKey(selection),
- label: t("settings.features.titleModelChoice", { provider: instance.displayName, model: model.label }),
- selection,
- };
- }));
- const selected = titles.model ? titleModelKey(titles.model) : "";
- const currentChoice = choices.find((choice) => choice.key === selected);
- const unavailable = titles.model && !currentChoice
- ? t("settings.features.titleModelUnavailable", { model: titles.model.model })
- : undefined;
- const automatic = t("settings.features.titleModelAutomatic");
- const modelLabel = t("settings.features.titleModel");
- const followUpLabel = t("settings.features.titleFollowUp");
- const noChoices = !titles.model && choices.length === 0;
-
- const save = async (threadTitles: ThreadTitlesPatch) => {
- if (saving) return;
- const field = "model" in threadTitles ? "model" : "followUp";
- setFeedback({ field, saving: true });
- try {
- const config = await api<ConfigStatus>("/api/config", { method: "PATCH", body: JSON.stringify({ threadTitles }) });
- dispatch({ type: "configStatus", config });
- setFeedback(null);
- } catch {
- setFeedback({ field, saving: false });
- }
- };
- const status = (field: "model" | "followUp") => {
- if (feedback?.field !== field) return undefined;
- return saving ? <span role="status">{t("settings.threads.saving")}</span>
- : <span role="alert" className="text-danger">{t("settings.features.error")}</span>;
- };
-
- return (
- <>
- <SettingRow title={modelLabel} message={status("model")}
- subtitle={noChoices ? <span id={`${id}-model`}>{t("settings.features.titleModelConnect")}</span> : undefined}>
- <Select aria-label={modelLabel} aria-describedby={noChoices ? `${id}-model` : undefined}
- title={currentChoice?.label ?? unavailable ?? automatic} value={selected} disabled={saving || noChoices}
- onChange={(event) => {
- const key = event.target.value;
- if (key === "") void save({ model: null });
- else {
- const choice = choices.find((option) => option.key === key);
- if (choice) void save({ model: choice.selection });
- }
- }}>
- <option value="">{automatic}</option>
- {unavailable && <option value={selected} disabled>{unavailable}</option>}
- {choices.map((choice) => <option key={choice.key} value={choice.key}>{choice.label}</option>)}
- </Select>
- </SettingRow>
- <SettingRow title={followUpLabel} subtitle={<span id={`${id}-follow-up`}>{t("settings.features.titleFollowUpLine")}</span>} message={status("followUp")}>
- <Switch checked={titles.followUp} aria-label={followUpLabel} aria-describedby={`${id}-follow-up`}
- disabled={saving} onClick={() => void save({ followUp: !titles.followUp })} />
- </SettingRow>
- </>
- );
-}
-
export function FeaturesPage() {
- // Advanced only: the Skills section the library switch reveals is on the Advanced-only Bots page, and the title model
- // and follow-up titles are technical choices that spend on a model.
- const advanced = useAdvancedMode();
+ // The Skills section the library switch reveals is on the Bots page, which only Advanced lists.
+ const { ctx } = useSettingsShell();
return (
<SettingsGroup block="features">
<SettingsRows>
<FeatureRow name="skillBurger" />
<FeatureRow name="threadTabs" />
<FeatureRow name="suggestedReplies" />
- {advanced && <FeatureRow name="skillsLibrary" />}
+ {ctx.advanced && <FeatureRow name="skillsLibrary" />}
<FeatureRow name="promotions" />
- {advanced && <ThreadTitleRows />}
</SettingsRows>
</SettingsGroup>
);
diff --git a/src/locales/de.json b/src/locales/de.json
index ffc863dccc..b2b72e894b 100644
--- a/src/locales/de.json
+++ b/src/locales/de.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Modell für Unterhaltungstitel",
- "settings.features.titleModelAutomatic": "Automatisch",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (nicht verfügbar)",
- "settings.features.titleModelConnect": "Verbinde eine kompatible KI, um ein Titelmodell auszuwählen.",
- "settings.features.titleFollowUp": "Unterhaltungstitel aktualisieren",
- "settings.features.titleFollowUpLine": "Automatische Titel werden bei einem Themenwechsel aktualisiert. Selbst gewählte Titel bleiben erhalten.",
"settings.threads.saving": "Wird gespeichert …",
"voice.gemini.keyPlaceholder": "Google AI Studio API-Schlüssel einfügen",
"voice.gemini.model": "Gemini-Sprachmodell",
diff --git a/src/locales/en.json b/src/locales/en.json
index 5ae06755e9..a7dacdd083 100644
--- a/src/locales/en.json
+++ b/src/locales/en.json
@@ -12264,13 +12264,6 @@
"settings.features.suggestedRepliesLine": "After a bot replies, suggest what you might say next. The bot's own AI writes it with its smallest model, which uses a little of your plan or API credit.",
"settings.features.skillsLibrary": "Skills library",
"settings.features.skillsLibraryLine": "Show the Skills section in Settings, where you can browse, import and assign skills to bots",
- "settings.features.titleModel": "Thread title model",
- "settings.features.titleModelAutomatic": "Automatic",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (unavailable)",
- "settings.features.titleModelConnect": "Connect a compatible AI to choose a title model.",
- "settings.features.titleFollowUp": "Update thread titles",
- "settings.features.titleFollowUpLine": "Refresh automatic titles when a conversation changes direction. Titles you set stay as they are.",
"composer.placeholder.newThread": "Start a thread in {name}",
"room.feed.aria": "Threads in {name}",
"room.feed.replyOne": "1 reply",
diff --git a/src/locales/es.json b/src/locales/es.json
index a917507ff8..979d23203a 100644
--- a/src/locales/es.json
+++ b/src/locales/es.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Modelo para títulos de conversaciones",
- "settings.features.titleModelAutomatic": "Automático",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (no disponible)",
- "settings.features.titleModelConnect": "Conecta una IA compatible para elegir un modelo de títulos.",
- "settings.features.titleFollowUp": "Actualizar títulos de conversaciones",
- "settings.features.titleFollowUpLine": "Actualiza los títulos automáticos cuando cambia el tema. Se conservan los títulos que hayas elegido.",
"voice.gemini.keyPlaceholder": "Pega tu clave de API de Google AI Studio",
"voice.gemini.model": "Modelo de voz de Gemini",
"keys.label.geminiTts": "Clave de API de voz de Gemini",
diff --git a/src/locales/fr.json b/src/locales/fr.json
index 6467a607f1..16996e6419 100644
--- a/src/locales/fr.json
+++ b/src/locales/fr.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Modèle pour les titres de discussion",
- "settings.features.titleModelAutomatic": "Automatique",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (indisponible)",
- "settings.features.titleModelConnect": "Connectez une IA compatible pour choisir un modèle de titres.",
- "settings.features.titleFollowUp": "Mettre à jour les titres des discussions",
- "settings.features.titleFollowUpLine": "Actualise les titres automatiques quand le sujet change. Les titres que vous avez choisis sont conservés.",
"settings.threads.saving": "Enregistrement…",
"voice.gemini.keyPlaceholder": "Collez votre clé API Google AI Studio",
"voice.gemini.model": "Modèle de synthèse vocale Gemini",
diff --git a/src/locales/hi.json b/src/locales/hi.json
index 38be20106b..a42842b391 100644
--- a/src/locales/hi.json
+++ b/src/locales/hi.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "बातचीत के शीर्षक का मॉडल",
- "settings.features.titleModelAutomatic": "स्वचालित",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (अनुपलब्ध)",
- "settings.features.titleModelConnect": "शीर्षक का मॉडल चुनने के लिए संगत AI जोड़ें।",
- "settings.features.titleFollowUp": "बातचीत के शीर्षक अपडेट करें",
- "settings.features.titleFollowUpLine": "विषय बदलने पर स्वचालित शीर्षक अपडेट होते हैं। आपके दिए शीर्षक बने रहते हैं।",
"settings.threads.saving": "सहेजा जा रहा है…",
"voice.gemini.keyPlaceholder": "अपनी Google AI Studio API कुंजी पेस्ट करें",
"voice.gemini.model": "Gemini वाक् मॉडल",
diff --git a/src/locales/it.json b/src/locales/it.json
index 896f07ca81..748dc8f857 100644
--- a/src/locales/it.json
+++ b/src/locales/it.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Modello per i titoli delle conversazioni",
- "settings.features.titleModelAutomatic": "Automatico",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (non disponibile)",
- "settings.features.titleModelConnect": "Collega un’IA compatibile per scegliere un modello per i titoli.",
- "settings.features.titleFollowUp": "Aggiorna i titoli delle conversazioni",
- "settings.features.titleFollowUpLine": "Aggiorna i titoli automatici quando cambia l’argomento. I titoli scelti da te vengono conservati.",
"connectedWorkspaces.localTitle": "Ambienti su questo computer",
"connectedWorkspaces.missing": "mancante",
"connectedWorkspaces.current": "Attuale",
diff --git a/src/locales/ja.json b/src/locales/ja.json
index 0021f693c5..f9145c3862 100644
--- a/src/locales/ja.json
+++ b/src/locales/ja.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "スレッドのタイトル生成モデル",
- "settings.features.titleModelAutomatic": "自動",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (利用不可)",
- "settings.features.titleModelConnect": "タイトル生成モデルを選ぶには、対応する AI を接続してください。",
- "settings.features.titleFollowUp": "スレッドのタイトルを更新",
- "settings.features.titleFollowUpLine": "話題が変わると自動タイトルを更新します。自分で設定したタイトルは維持されます。",
"connectedWorkspaces.localTitle": "このコンピューターの環境",
"connectedWorkspaces.missing": "見つかりません",
"connectedWorkspaces.current": "使用中",
diff --git a/src/locales/ko.json b/src/locales/ko.json
index f4c78f4696..21610b9aac 100644
--- a/src/locales/ko.json
+++ b/src/locales/ko.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "대화 제목 생성 모델",
- "settings.features.titleModelAutomatic": "자동",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (사용할 수 없음)",
- "settings.features.titleModelConnect": "제목 생성 모델을 선택하려면 호환되는 AI를 연결하세요.",
- "settings.features.titleFollowUp": "대화 제목 업데이트",
- "settings.features.titleFollowUpLine": "대화 주제가 바뀌면 자동 제목을 업데이트합니다. 직접 지정한 제목은 유지됩니다.",
"voice.gemini.keyPlaceholder": "Google AI Studio API 키를 붙여넣으세요",
"voice.gemini.model": "Gemini 음성 합성 모델",
"keys.label.geminiTts": "Gemini 음성 합성 API 키",
diff --git a/src/locales/pl.json b/src/locales/pl.json
index 21bc20d7ec..54f44eb874 100644
--- a/src/locales/pl.json
+++ b/src/locales/pl.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Model tytułów rozmów",
- "settings.features.titleModelAutomatic": "Automatycznie",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (niedostępny)",
- "settings.features.titleModelConnect": "Połącz zgodną usługę AI, aby wybrać model tytułów.",
- "settings.features.titleFollowUp": "Aktualizuj tytuły rozmów",
- "settings.features.titleFollowUpLine": "Aktualizuje automatyczne tytuły po zmianie tematu rozmowy. Własne tytuły zostają zachowane.",
"voice.gemini.keyPlaceholder": "Wklej swój klucz API Google AI Studio",
"voice.gemini.model": "Model syntezy mowy Gemini",
"keys.label.geminiTts": "Klucz API syntezy mowy Gemini",
diff --git a/src/locales/pt-br.json b/src/locales/pt-br.json
index db6c00e993..1dd79d4eb1 100644
--- a/src/locales/pt-br.json
+++ b/src/locales/pt-br.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Modelo para títulos de conversas",
- "settings.features.titleModelAutomatic": "Automático",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (indisponível)",
- "settings.features.titleModelConnect": "Conecte uma IA compatível para escolher um modelo para os títulos.",
- "settings.features.titleFollowUp": "Atualizar títulos de conversas",
- "settings.features.titleFollowUpLine": "Atualiza os títulos automáticos quando o assunto muda. Os títulos que você escolheu são mantidos.",
"voice.gemini.keyPlaceholder": "Cole sua chave de API do Google AI Studio",
"voice.gemini.model": "Modelo de voz do Gemini",
"keys.label.geminiTts": "Chave de API de voz do Gemini",
diff --git a/src/locales/ru.json b/src/locales/ru.json
index 99eafa527f..ad250be28a 100644
--- a/src/locales/ru.json
+++ b/src/locales/ru.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Модель для заголовков обсуждений",
- "settings.features.titleModelAutomatic": "Автоматически",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (недоступна)",
- "settings.features.titleModelConnect": "Подключите совместимый ИИ, чтобы выбрать модель для заголовков.",
- "settings.features.titleFollowUp": "Обновлять заголовки обсуждений",
- "settings.features.titleFollowUpLine": "Автоматические заголовки обновляются при смене темы. Заданные вами заголовки сохраняются.",
"voice.gemini.keyPlaceholder": "Вставьте свой API-ключ Google AI Studio",
"voice.gemini.model": "Модель синтеза речи Gemini",
"keys.label.geminiTts": "API-ключ синтеза речи Gemini",
diff --git a/src/locales/tr.json b/src/locales/tr.json
index 76e4d9b49b..d3839189e3 100644
--- a/src/locales/tr.json
+++ b/src/locales/tr.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Sohbet başlığı modeli",
- "settings.features.titleModelAutomatic": "Otomatik",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (kullanılamıyor)",
- "settings.features.titleModelConnect": "Başlık modeli seçmek için uyumlu bir yapay zekâ bağlayın.",
- "settings.features.titleFollowUp": "Sohbet başlıklarını güncelle",
- "settings.features.titleFollowUpLine": "Konu değiştiğinde otomatik başlıklar güncellenir. Sizin belirlediğiniz başlıklar korunur.",
"voice.gemini.keyPlaceholder": "Google AI Studio API anahtarınızı yapıştırın",
"voice.gemini.model": "Gemini konuşma modeli",
"keys.label.geminiTts": "Gemini konuşma API anahtarı",
diff --git a/src/locales/uk.json b/src/locales/uk.json
index 8c9c7d531f..49766151f3 100644
--- a/src/locales/uk.json
+++ b/src/locales/uk.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Модель для заголовків обговорень",
- "settings.features.titleModelAutomatic": "Автоматично",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (недоступна)",
- "settings.features.titleModelConnect": "Підключіть сумісний ШІ, щоб вибрати модель для заголовків.",
- "settings.features.titleFollowUp": "Оновлювати заголовки обговорень",
- "settings.features.titleFollowUpLine": "Автоматичні заголовки оновлюються зі зміною теми. Задані вами заголовки зберігаються.",
"voice.gemini.keyPlaceholder": "Вставте свій API-ключ Google AI Studio",
"voice.gemini.model": "Модель синтезу мовлення Gemini",
"keys.label.geminiTts": "API-ключ синтезу мовлення Gemini",
diff --git a/src/locales/vi.json b/src/locales/vi.json
index 2d1434874d..93e81f7c03 100644
--- a/src/locales/vi.json
+++ b/src/locales/vi.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "Mô hình đặt tiêu đề hội thoại",
- "settings.features.titleModelAutomatic": "Tự động",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (không khả dụng)",
- "settings.features.titleModelConnect": "Kết nối AI tương thích để chọn mô hình đặt tiêu đề.",
- "settings.features.titleFollowUp": "Cập nhật tiêu đề hội thoại",
- "settings.features.titleFollowUpLine": "Cập nhật tiêu đề tự động khi cuộc trò chuyện đổi chủ đề. Tiêu đề bạn tự đặt sẽ được giữ nguyên.",
"voice.gemini.keyPlaceholder": "Dán khóa API Google AI Studio của bạn",
"voice.gemini.model": "Mô hình giọng nói Gemini",
"keys.label.geminiTts": "Khóa API giọng nói Gemini",
diff --git a/src/locales/zh-tw.json b/src/locales/zh-tw.json
index f3dd1ae35a..be251624ce 100644
--- a/src/locales/zh-tw.json
+++ b/src/locales/zh-tw.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "對話標題模型",
- "settings.features.titleModelAutomatic": "自動",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (無法使用)",
- "settings.features.titleModelConnect": "連接相容的 AI 後即可選擇標題模型。",
- "settings.features.titleFollowUp": "更新對話標題",
- "settings.features.titleFollowUpLine": "話題改變時更新自動產生的標題。你手動設定的標題會保留。",
"connectedWorkspaces.localTitle": "這台電腦上的環境",
"connectedWorkspaces.missing": "遺失",
"connectedWorkspaces.current": "目前",
diff --git a/src/locales/zh.json b/src/locales/zh.json
index 7a495199d9..fb85f792f1 100644
--- a/src/locales/zh.json
+++ b/src/locales/zh.json
@@ -1,11 +1,4 @@
{
- "settings.features.titleModel": "对话标题模型",
- "settings.features.titleModelAutomatic": "自动",
- "settings.features.titleModelChoice": "{provider} · {model}",
- "settings.features.titleModelUnavailable": "{model} (不可用)",
- "settings.features.titleModelConnect": "连接兼容的 AI 后即可选择标题模型。",
- "settings.features.titleFollowUp": "更新对话标题",
- "settings.features.titleFollowUpLine": "话题变化时更新自动生成的标题。你手动设置的标题会保留。",
"connectedWorkspaces.localTitle": "这台电脑上的环境",
"connectedWorkspaces.missing": "不存在",
"connectedWorkspaces.current": "当前",