🤯 LobeHub - Super-Agents on Your Team. Add super-agents to the chats your team already uses.They take on work by themselves and get better every week.
TypeScript agentagent-collaborationagent-harnessloop-engineeringmcppersonal-assistantproactive-agentskillssuper-agenttask-management
🔥 chore(settings): remove the unwired history compression model config (#22362)
Lobehub Coderdab8172ba5c1
diff --git a/apps/server/src/globalConfig/parseSystemAgent.test.ts b/apps/server/src/globalConfig/parseSystemAgent.test.tsindex 2919df32371..26782009b29 100644--- a/apps/server/src/globalConfig/parseSystemAgent.test.ts+++ b/apps/server/src/globalConfig/parseSystemAgent.test.ts@@ -102,7 +102,6 @@ describe('parseSystemAgent', () => {expect(result.translation).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.agentMeta).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.expertise).toEqual({ provider: 'ollama', model: 'deepseek-v3' });- expect(result.historyCompress).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.onboardingUnderstanding).toEqual({provider: 'ollama',model: 'deepseek-v3',@@ -159,7 +158,6 @@ describe('parseSystemAgent', () => {expect(result.translation).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.agentMeta).toEqual({ provider: 'ollama', model: 'deepseek-v3' });- expect(result.historyCompress).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.thread).toEqual({ provider: 'ollama', model: 'deepseek-v3' });});@@ -175,7 +173,6 @@ describe('parseSystemAgent', () => {// 其他系统智能体应该使用默认配置expect(result.translation).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.agentMeta).toEqual({ provider: 'ollama', model: 'deepseek-v3' });- expect(result.historyCompress).toEqual({ provider: 'ollama', model: 'deepseek-v3' });expect(result.thread).toEqual({ provider: 'ollama', model: 'deepseek-v3' });});diff --git a/docs/self-hosting/environment-variables/basic.mdx b/docs/self-hosting/environment-variables/basic.mdxindex 857944a8f91..189fef2fddf 100644--- a/docs/self-hosting/environment-variables/basic.mdx+++ b/docs/self-hosting/environment-variables/basic.mdx@@ -92,17 +92,16 @@ Configuration details:Available system agents and their functions:-| System Agent | Key Name | Function Description |-| ----------------------- | ----------------- | -------------------------------------------------------------------------------------- |-| Topic Generation | `topic` | Automatically generates topic names and summaries based on chat content |-| Translation | `translation` | Handles text translation between multiple languages |-| Metadata Generation | `agentMeta` | Generates descriptive information and metadata for assistants |-| History Compression | `historyCompress` | Compresses and organizes history for long conversations, optimizing context management |-| Branch Conversation | `thread` | Automatically generate titles for branch conversations |-| Image Generation Naming | `generationTopic` | AI image automatic topic naming |-| Input Auto-completion | `inputCompletion` | Input auto-completion suggestions (similar to GitHub Copilot ghost text) |-| Prompt Rewrite | `promptRewrite` | Optimize prompts before generation |-| Image Generation Naming | `generationTopic` | AI image automatic topic naming |+| System Agent | Key Name | Function Description |+| ----------------------- | ----------------- | ------------------------------------------------------------------------ |+| Topic Generation | `topic` | Automatically generates topic names and summaries based on chat content |+| Translation | `translation` | Handles text translation between multiple languages |+| Metadata Generation | `agentMeta` | Generates descriptive information and metadata for assistants |+| Branch Conversation | `thread` | Automatically generate titles for branch conversations |+| Image Generation Naming | `generationTopic` | AI image automatic topic naming |+| Input Auto-completion | `inputCompletion` | Input auto-completion suggestions (similar to GitHub Copilot ghost text) |+| Prompt Rewrite | `promptRewrite` | Optimize prompts before generation |+| Image Generation Naming | `generationTopic` | AI image automatic topic naming |### `FEATURE_FLAGS`diff --git a/docs/self-hosting/environment-variables/basic.zh-CN.mdx b/docs/self-hosting/environment-variables/basic.zh-CN.mdxindex 3447a689a66..c80480c96f0 100644--- a/docs/self-hosting/environment-variables/basic.zh-CN.mdx+++ b/docs/self-hosting/environment-variables/basic.zh-CN.mdx@@ -93,7 +93,6 @@ LobeHub 在部署时提供了一些额外的配置项,你可以使用环境变| 主题生成 | `topic` | 根据聊天内容自动生成主题名称和摘要 || 翻译 | `translation` | 文本翻译使用的助手 || 元数据生成 | `agentMeta` | 为助手生成描述性信息和元数据 |-| 历史记录压缩 | `historyCompress` | 压缩和整理长对话的历史记录,优化上下文管理 || 分支对话 | `thread` | 自动生成分支对话的标题 || 图片生成命名 | `generationTopic` | AI 图片自动命名话题 || 输入自动补全 | `inputCompletion` | 输入自动补全建议(类似 GitHub Copilot 幽灵文本) |diff --git a/locales/ar/setting.json b/locales/ar/setting.jsonindex e0d9f2d41e0..1733cf8b121 100644--- a/locales/ar/setting.json+++ b/locales/ar/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "النموذج المستخدم لتحويل الهدف المستمر إلى معايير القبول الدائمة الخاصة به.","systemAgent.goal.title": "إنشاء الهدف","systemAgent.helpInfo": "عند إنشاء وكيل جديد، سيتم استخدام إعدادات الوكيل الافتراضية كقيم مسبقة.",- "systemAgent.historyCompress.label": "النموذج",- "systemAgent.historyCompress.modelDesc": "تحديد النموذج المستخدم لضغط سجل المحادثة",- "systemAgent.historyCompress.title": "وكيل ضغط سجل المحادثة","systemAgent.inputCompletion.label": "النموذج","systemAgent.inputCompletion.modelDesc": "النموذج المستخدم لاقتراحات الإكمال التلقائي للإدخال (مثل نص الشبح في GitHub Copilot)","systemAgent.inputCompletion.title": "وكيل الإكمال التلقائي للإدخال",diff --git a/locales/bg-BG/setting.json b/locales/bg-BG/setting.jsonindex 94b84bac167..fda1b32cda4 100644--- a/locales/bg-BG/setting.json+++ b/locales/bg-BG/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Модел, използван за превръщане на постоянна цел в нейни постоянни критерии за приемане.","systemAgent.goal.title": "Създаване на цел","systemAgent.helpInfo": "При създаване на нов агент, настройките по подразбиране ще се използват като предварителни стойности.",- "systemAgent.historyCompress.label": "Модел",- "systemAgent.historyCompress.modelDesc": "Посочете модел за компресиране на историята на разговорите",- "systemAgent.historyCompress.title": "Агент за компресиране на историята на разговорите","systemAgent.inputCompletion.label": "Модел","systemAgent.inputCompletion.modelDesc": "Модел, използван за предложения за автоматично довършване на въвеждане (като призрачния текст на GitHub Copilot)","systemAgent.inputCompletion.title": "Агент за автоматично довършване на въвеждане",diff --git a/locales/de-DE/setting.json b/locales/de-DE/setting.jsonindex ab77077c05f..a1603735377 100644--- a/locales/de-DE/setting.json+++ b/locales/de-DE/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Modell, das verwendet wird, um ein dauerhaftes Ziel in seine ständigen Akzeptanzkriterien umzuwandeln.","systemAgent.goal.title": "Zielerstellung","systemAgent.helpInfo": "Beim Erstellen eines neuen Agenten werden die Standardagenteneinstellungen als Voreinstellungen verwendet.",- "systemAgent.historyCompress.label": "Modell",- "systemAgent.historyCompress.modelDesc": "Modell zur Komprimierung des Gesprächsverlaufs",- "systemAgent.historyCompress.title": "Agent zur Komprimierung des Gesprächsverlaufs","systemAgent.inputCompletion.label": "Modell","systemAgent.inputCompletion.modelDesc": "Modell, das für Eingabevorschläge zur automatischen Vervollständigung verwendet wird (wie GitHub Copilot-Geistertext)","systemAgent.inputCompletion.title": "Agent für automatische Eingabevervollständigung",diff --git a/locales/en-US/setting.json b/locales/en-US/setting.jsonindex f9ac31572ea..e868f709c08 100644--- a/locales/en-US/setting.json+++ b/locales/en-US/setting.json@@ -1954,9 +1954,6 @@"systemAgent.goal.modelDesc": "Model used to turn a persistent goal into its standing acceptance criteria.","systemAgent.goal.title": "Goal Creation","systemAgent.helpInfo": "When creating a new agent, the default agent settings will be used as preset values.",- "systemAgent.historyCompress.label": "Model",- "systemAgent.historyCompress.modelDesc": "Model used to compress conversation history",- "systemAgent.historyCompress.title": "Conversation History Compression","systemAgent.inputCompletion.label": "Model","systemAgent.inputCompletion.modelDesc": "Suggests text while you type. When enabled, this model generates the suggestions.","systemAgent.inputCompletion.title": "Input Suggestions",diff --git a/locales/es-ES/setting.json b/locales/es-ES/setting.jsonindex c7739f1fdbd..e7b0b023957 100644--- a/locales/es-ES/setting.json+++ b/locales/es-ES/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Modelo utilizado para convertir un objetivo persistente en sus criterios de aceptación permanentes.","systemAgent.goal.title": "Creación de Objetivos","systemAgent.helpInfo": "Al crear un nuevo agente, se usarán los valores predeterminados como configuración inicial.",- "systemAgent.historyCompress.label": "Modelo",- "systemAgent.historyCompress.modelDesc": "Especifica el modelo usado para comprimir el historial de conversación",- "systemAgent.historyCompress.title": "Agente de Compresión de Historial de Conversación","systemAgent.inputCompletion.label": "Modelo","systemAgent.inputCompletion.modelDesc": "Modelo utilizado para sugerencias de autocompletado de entrada (como el texto fantasma de GitHub Copilot)","systemAgent.inputCompletion.title": "Agente de Autocompletado de Entrada",diff --git a/locales/fa-IR/setting.json b/locales/fa-IR/setting.jsonindex 9eb4816abc3..cc6e6d50133 100644--- a/locales/fa-IR/setting.json+++ b/locales/fa-IR/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "مدلی که برای تبدیل یک هدف پایدار به معیارهای پذیرش دائمی آن استفاده میشود.","systemAgent.goal.title": "ایجاد هدف","systemAgent.helpInfo": "هنگام ایجاد یک عامل جدید، تنظیمات پیشفرض عامل بهعنوان مقادیر اولیه استفاده میشوند.",- "systemAgent.historyCompress.label": "مدل",- "systemAgent.historyCompress.modelDesc": "مدلی که برای فشردهسازی تاریخچه گفتگو استفاده میشود",- "systemAgent.historyCompress.title": "عامل فشردهسازی تاریخچه گفتگو","systemAgent.inputCompletion.label": "مدل","systemAgent.inputCompletion.modelDesc": "مدلی که برای پیشنهادات تکمیل خودکار ورودی استفاده میشود (مانند متن شبح GitHub Copilot)","systemAgent.inputCompletion.title": "عامل تکمیل خودکار ورودی",diff --git a/locales/fr-FR/setting.json b/locales/fr-FR/setting.jsonindex 5a196bd2b43..aa9436f1c5c 100644--- a/locales/fr-FR/setting.json+++ b/locales/fr-FR/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Modèle utilisé pour transformer un objectif persistant en ses critères d'acceptation permanents.","systemAgent.goal.title": "Création d'objectif","systemAgent.helpInfo": "Lors de la création d’un nouvel agent, les paramètres par défaut seront utilisés comme valeurs prédéfinies.",- "systemAgent.historyCompress.label": "Modèle",- "systemAgent.historyCompress.modelDesc": "Modèle utilisé pour compresser l’historique des conversations",- "systemAgent.historyCompress.title": "Agent de compression de l’historique","systemAgent.inputCompletion.label": "Modèle","systemAgent.inputCompletion.modelDesc": "Modèle utilisé pour les suggestions d'auto-complétion de saisie (comme le texte fantôme de GitHub Copilot)","systemAgent.inputCompletion.title": "Agent d'Auto-Complétion de Saisie",diff --git a/locales/it-IT/setting.json b/locales/it-IT/setting.jsonindex fbddbc2539f..14f9bb4302c 100644--- a/locales/it-IT/setting.json+++ b/locales/it-IT/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Modello utilizzato per trasformare un obiettivo persistente nei suoi criteri di accettazione permanenti.","systemAgent.goal.title": "Creazione Obiettivo","systemAgent.helpInfo": "Quando crei un nuovo agente, verranno utilizzate le impostazioni predefinite come valori iniziali.",- "systemAgent.historyCompress.label": "Modello",- "systemAgent.historyCompress.modelDesc": "Specifica il modello utilizzato per comprimere la cronologia delle conversazioni",- "systemAgent.historyCompress.title": "Agente Compressione Cronologia Conversazioni","systemAgent.inputCompletion.label": "Modello","systemAgent.inputCompletion.modelDesc": "Modello utilizzato per i suggerimenti di completamento automatico dell'input (come il testo fantasma di GitHub Copilot)","systemAgent.inputCompletion.title": "Agente di Completamento Automatico dell'Input",diff --git a/locales/ja-JP/setting.json b/locales/ja-JP/setting.jsonindex ae2c2a34b18..8e7b5efc673 100644--- a/locales/ja-JP/setting.json+++ b/locales/ja-JP/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "持続的な目標をその恒久的な受け入れ基準に変換するために使用されるモデル。","systemAgent.goal.title": "目標の作成","systemAgent.helpInfo": "新しいアシスタントを作成するとき、デフォルトのアシスタント設定がプリセット値として使用されます。",- "systemAgent.historyCompress.label": "モデル",- "systemAgent.historyCompress.modelDesc": "会話履歴を圧縮するために指定されたモデル",- "systemAgent.historyCompress.title": "会話履歴圧縮アシスタント","systemAgent.inputCompletion.label": "モデル","systemAgent.inputCompletion.modelDesc": "入力の自動補完候補(GitHub Copilotのゴーストテキストのようなもの)に使用されるモデル","systemAgent.inputCompletion.title": "入力自動補完エージェント",diff --git a/locales/ko-KR/setting.json b/locales/ko-KR/setting.jsonindex 4bc23a0db9d..0cabb554719 100644--- a/locales/ko-KR/setting.json+++ b/locales/ko-KR/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "지속적인 목표를 해당 지속적인 수용 기준으로 전환하는 데 사용되는 모델입니다.","systemAgent.goal.title": "목표 생성","systemAgent.helpInfo": "새 도우미를 생성할 때 기본 도우미 설정이 기본값으로 사용됩니다.",- "systemAgent.historyCompress.label": "모델",- "systemAgent.historyCompress.modelDesc": "대화 기록 압축에 사용되는 모델을 지정합니다",- "systemAgent.historyCompress.title": "대화 기록 압축 도우미","systemAgent.inputCompletion.label": "모델","systemAgent.inputCompletion.modelDesc": "입력 자동 완성 제안에 사용되는 모델 (예: GitHub Copilot의 고스트 텍스트)","systemAgent.inputCompletion.title": "입력 자동 완성 에이전트",diff --git a/locales/nl-NL/setting.json b/locales/nl-NL/setting.jsonindex 9ebce69ff0e..cfb2aad6fb3 100644--- a/locales/nl-NL/setting.json+++ b/locales/nl-NL/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Model gebruikt om een persistent doel om te zetten in de bijbehorende acceptatiecriteria.","systemAgent.goal.title": "Doelcreatie","systemAgent.helpInfo": "Bij het aanmaken van een nieuwe agent worden de standaardinstellingen als uitgangspunt gebruikt.",- "systemAgent.historyCompress.label": "Model",- "systemAgent.historyCompress.modelDesc": "Specificeer het model dat wordt gebruikt om gespreksgeschiedenis te comprimeren",- "systemAgent.historyCompress.title": "Gespreksgeschiedenis Compressieagent","systemAgent.inputCompletion.label": "Model","systemAgent.inputCompletion.modelDesc": "Model gebruikt voor invoer-autocompletie suggesties (zoals GitHub Copilot ghost text)","systemAgent.inputCompletion.title": "Invoer-Autocompletie Agent",diff --git a/locales/pl-PL/setting.json b/locales/pl-PL/setting.jsonindex f08dde3c9f6..5081061e0d5 100644--- a/locales/pl-PL/setting.json+++ b/locales/pl-PL/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Model używany do przekształcenia trwałego celu w jego stałe kryteria akceptacji.","systemAgent.goal.title": "Tworzenie celu","systemAgent.helpInfo": "Podczas tworzenia nowego agenta domyślne ustawienia agenta będą używane jako wartości wstępne.",- "systemAgent.historyCompress.label": "Model",- "systemAgent.historyCompress.modelDesc": "Określ model używany do kompresji historii rozmów",- "systemAgent.historyCompress.title": "Agent kompresji historii rozmów","systemAgent.inputCompletion.label": "Model","systemAgent.inputCompletion.modelDesc": "Model używany do sugestii automatycznego uzupełniania wprowadzania (np. tekst duch GitHub Copilot)","systemAgent.inputCompletion.title": "Agent Automatycznego Uzupełniania Wprowadzania",diff --git a/locales/pt-BR/setting.json b/locales/pt-BR/setting.jsonindex 95a7b835ad6..90930231101 100644--- a/locales/pt-BR/setting.json+++ b/locales/pt-BR/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Modelo usado para transformar um objetivo persistente em seus critérios de aceitação permanentes.","systemAgent.goal.title": "Criação de Objetivo","systemAgent.helpInfo": "Ao criar um novo agente, as configurações padrão do agente serão usadas como valores predefinidos.",- "systemAgent.historyCompress.label": "Modelo",- "systemAgent.historyCompress.modelDesc": "Especifique o modelo usado para compactar o histórico de conversas",- "systemAgent.historyCompress.title": "Agente de Compactação de Histórico de Conversas","systemAgent.inputCompletion.label": "Modelo","systemAgent.inputCompletion.modelDesc": "Modelo usado para sugestões de preenchimento automático de entrada (como o texto fantasma do GitHub Copilot)","systemAgent.inputCompletion.title": "Agente de Preenchimento Automático de Entrada",diff --git a/locales/ru-RU/setting.json b/locales/ru-RU/setting.jsonindex a78fefc8c29..ab6bc7e8b7d 100644--- a/locales/ru-RU/setting.json+++ b/locales/ru-RU/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Модель, используемая для преобразования постоянной цели в её текущие критерии принятия.","systemAgent.goal.title": "Создание цели","systemAgent.helpInfo": "При создании нового агента будут использоваться настройки агента по умолчанию.",- "systemAgent.historyCompress.label": "Модель",- "systemAgent.historyCompress.modelDesc": "Укажите модель для сжатия истории диалога",- "systemAgent.historyCompress.title": "Агент сжатия истории диалога","systemAgent.inputCompletion.label": "Модель","systemAgent.inputCompletion.modelDesc": "Модель, используемая для предложений автозаполнения ввода (например, текст-призрак GitHub Copilot)","systemAgent.inputCompletion.title": "Агент автозаполнения ввода",diff --git a/locales/tr-TR/setting.json b/locales/tr-TR/setting.jsonindex 93d68eaa1f9..1e37735eb53 100644--- a/locales/tr-TR/setting.json+++ b/locales/tr-TR/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Kalıcı bir hedefi sürekli kabul kriterlerine dönüştürmek için kullanılan model.","systemAgent.goal.title": "Hedef Oluşturma","systemAgent.helpInfo": "Yeni bir ajan oluştururken, varsayılan ajan ayarları ön ayar olarak kullanılacaktır.",- "systemAgent.historyCompress.label": "Model",- "systemAgent.historyCompress.modelDesc": "Konuşma geçmişini sıkıştırmak için kullanılacak modeli belirtin",- "systemAgent.historyCompress.title": "Konuşma Geçmişi Sıkıştırma Ajanı","systemAgent.inputCompletion.label": "Model","systemAgent.inputCompletion.modelDesc": "Girdi otomatik tamamlama önerileri için kullanılan model (GitHub Copilot hayalet metni gibi)","systemAgent.inputCompletion.title": "Girdi Otomatik Tamamlama Aracısı",diff --git a/locales/vi-VN/setting.json b/locales/vi-VN/setting.jsonindex 4e75189925d..d80cf473091 100644--- a/locales/vi-VN/setting.json+++ b/locales/vi-VN/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "Mô hình được sử dụng để chuyển mục tiêu lâu dài thành tiêu chí chấp nhận hiện hành của nó.","systemAgent.goal.title": "Tạo Mục Tiêu","systemAgent.helpInfo": "Khi tạo tác nhân mới, cài đặt mặc định của tác nhân sẽ được sử dụng làm giá trị thiết lập sẵn.",- "systemAgent.historyCompress.label": "Mô Hình",- "systemAgent.historyCompress.modelDesc": "Chỉ định mô hình dùng để nén lịch sử trò chuyện",- "systemAgent.historyCompress.title": "Tác Nhân Nén Lịch Sử Trò Chuyện","systemAgent.inputCompletion.label": "Mô hình","systemAgent.inputCompletion.modelDesc": "Mô hình được sử dụng để gợi ý tự động hoàn thành đầu vào (như văn bản ma của GitHub Copilot)","systemAgent.inputCompletion.title": "Tác nhân Tự động Hoàn thành Đầu vào",diff --git a/locales/zh-CN/setting.json b/locales/zh-CN/setting.jsonindex 2178830b356..8f11f148e92 100644--- a/locales/zh-CN/setting.json+++ b/locales/zh-CN/setting.json@@ -1954,9 +1954,6 @@"systemAgent.goal.modelDesc": "用于将持久目标转化为其持续接受标准的模型。","systemAgent.goal.title": "目标创建","systemAgent.helpInfo": "当创建新助理时,将以默认助理设置作为预设值。",- "systemAgent.historyCompress.label": "模型",- "systemAgent.historyCompress.modelDesc": "用于压缩会话历史的模型",- "systemAgent.historyCompress.title": "会话历史压缩","systemAgent.inputCompletion.label": "模型","systemAgent.inputCompletion.modelDesc": "输入时生成文本建议。开启后,由该模型生成建议。","systemAgent.inputCompletion.title": "输入建议",diff --git a/locales/zh-TW/setting.json b/locales/zh-TW/setting.jsonindex fa330a0be2a..b6a4d41d9af 100644--- a/locales/zh-TW/setting.json+++ b/locales/zh-TW/setting.json@@ -1831,9 +1831,6 @@"systemAgent.goal.modelDesc": "用於將持續目標轉化為其固定接受標準的模型。","systemAgent.goal.title": "目標創建","systemAgent.helpInfo": "當創建新助手時,將以預設助手設定作為預設值。",- "systemAgent.historyCompress.label": "模型",- "systemAgent.historyCompress.modelDesc": "指定用於壓縮會話歷史的模型",- "systemAgent.historyCompress.title": "對話歷史壓縮助手","systemAgent.inputCompletion.label": "模型","systemAgent.inputCompletion.modelDesc": "用於輸入自動完成建議的模型(例如 GitHub Copilot 的幽靈文字)","systemAgent.inputCompletion.title": "輸入自動完成代理",diff --git a/packages/const/src/settings/systemAgent.ts b/packages/const/src/settings/systemAgent.tsindex 65adeccdbea..248e8ca3372 100644--- a/packages/const/src/settings/systemAgent.ts+++ b/packages/const/src/settings/systemAgent.ts@@ -1,3 +1,4 @@+import * as businessDefaults from '@lobechat/business-const';import {DEFAULT_ASR_MODEL,DEFAULT_ASR_PROVIDER,@@ -7,7 +8,6 @@ import {DEFAULT_VERIFY_MODEL,DEFAULT_VERIFY_PROVIDER,} from '@lobechat/business-const';-import * as businessDefaults from '@lobechat/business-const';import type {PromptRewriteSystemAgent,ServiceModelTier,@@ -96,7 +96,6 @@ export const DEFAULT_SYSTEM_AGENT_CONFIG: UserServiceModelConfig = {followUpAction: DEFAULT_FOLLOW_UP_ACTION_SYSTEM_AGENT_ITEM,generationTopic: DEFAULT_MINI_SYSTEM_AGENT_ITEM,goal: DEFAULT_SYSTEM_AGENT_ITEM,- historyCompress: DEFAULT_MINI_SYSTEM_AGENT_ITEM,inputCompletion: DEFAULT_INPUT_COMPLETION_SYSTEM_AGENT_ITEM,memoryAnalysisAgentConfig: DEFAULT_MINI_SYSTEM_AGENT_ITEM,onboardingTaskRecommender: DEFAULT_MINI_SYSTEM_AGENT_ITEM,@@ -125,7 +124,6 @@ export const SERVICE_MODEL_TIER_SLOTS: Record<ServiceModelTier, UserServiceModel'thread','generationTopic','translation',- 'historyCompress','promptRewrite','memoryAnalysisAgentConfig','userMemoryPersonaWriter',diff --git a/packages/locales/src/default/setting.ts b/packages/locales/src/default/setting.tsindex 92c8bce2ecf..fe298b75222 100644--- a/packages/locales/src/default/setting.ts+++ b/packages/locales/src/default/setting.ts@@ -1931,9 +1931,6 @@ When I am ___, I need ___'systemAgent.generationTopic.title': 'AI Image Topic Naming','systemAgent.helpInfo':'When creating a new agent, the default agent settings will be used as preset values.',- 'systemAgent.historyCompress.label': 'Model',- 'systemAgent.historyCompress.modelDesc': 'Model used to compress conversation history',- 'systemAgent.historyCompress.title': 'Conversation History Compression','systemAgent.inputCompletion.label': 'Model','systemAgent.inputCompletion.modelDesc':'Suggests text while you type. When enabled, this model generates the suggestions.',diff --git a/packages/types/src/agent/chatConfig.ts b/packages/types/src/agent/chatConfig.tsindex 6d45c952e0c..3f788b7954a 100644--- a/packages/types/src/agent/chatConfig.ts+++ b/packages/types/src/agent/chatConfig.ts@@ -30,10 +30,6 @@ export interface AgentSelfIterationChatConfig {export interface LobeAgentChatConfig extends AgentMemoryChatConfig, AgentSelfIterationChatConfig {codexMaxReasoningEffort?: 'low' | 'medium' | 'high' | 'xhigh';- /**- * Model ID to use for generating compression summaries- */- compressionModelId?: string;deepseekV4GAReasoningEffort?: 'none' | 'low' | 'high' | 'max';deepseekV4ReasoningEffort?: 'none' | 'high' | 'max';@@ -249,7 +245,6 @@ export const AgentChatConfigSchema = zdeepseekV4GAReasoningEffort: z.enum(['none', 'low', 'high', 'max']).optional(),deepseekV4ReasoningEffort: z.enum(['none', 'high', 'max']).optional(),qwen38ReasoningEffort: z.enum(['none', 'low', 'medium', 'xhigh']).optional(),- compressionModelId: z.string().optional(),disableContextCaching: z.boolean().optional(),disableGatewayMode: z.boolean().optional(),effort: z.enum(['low', 'medium', 'high', 'max']).optional(),diff --git a/packages/types/src/user/settings/systemAgent.ts b/packages/types/src/user/settings/systemAgent.tsindex 182bf481841..fe74a568d1e 100644--- a/packages/types/src/user/settings/systemAgent.ts+++ b/packages/types/src/user/settings/systemAgent.ts@@ -26,7 +26,6 @@ export interface UserSystemAgentConfig {generationTopic: SystemAgentItem;/** Model used to turn a persistent goal into its standing acceptance criteria. */goal: SystemAgentItem;- historyCompress: SystemAgentItem;inputCompletion: SystemAgentItem;/** Model used to turn onboarding evidence into background-safe task recommendations. */onboardingTaskRecommender: SystemAgentItem;diff --git a/src/store/chat/slices/agentRun/actions/transports/client/streamingExecutor.ts b/src/store/chat/slices/agentRun/actions/transports/client/streamingExecutor.tsindex 3c9b99f7f70..50ee88edf06 100644--- a/src/store/chat/slices/agentRun/actions/transports/client/streamingExecutor.ts+++ b/src/store/chat/slices/agentRun/actions/transports/client/streamingExecutor.ts@@ -643,7 +643,6 @@ export class StreamingExecutorActionImpl {const modelRuntimeConfig = {model,provider: provider!,- // TODO: Support dedicated compression model from chatConfig.compressionModelIdcompressionModel: { model, provider: provider! },};// ===========================================diff --git a/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap b/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snapindex 60613f341ba..6bcd62bc022 100644--- a/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap+++ b/src/store/user/slices/settings/selectors/__snapshots__/settings.test.ts.snap@@ -77,10 +77,6 @@ exports[`settingsSelectors > currentSystemAgent > should merge DEFAULT_SYSTEM_AG"model": "deepseek-v4-flash","provider": "deepseek",},- "historyCompress": {- "model": "gpt-5.6-luna",- "provider": "openai",- },"inputCompletion": {"enabled": false,"model": "gpt-5.6-luna",diff --git a/src/store/user/slices/settings/selectors/systemAgent.ts b/src/store/user/slices/settings/selectors/systemAgent.tsindex c2e41b7ec6e..9d970257491 100644--- a/src/store/user/slices/settings/selectors/systemAgent.ts+++ b/src/store/user/slices/settings/selectors/systemAgent.ts@@ -19,7 +19,6 @@ const topicAutoSummary = (s: UserStore) => currentSystemAgent(s).topicAutoSummarconst thread = (s: UserStore) => currentSystemAgent(s).thread;const agentMeta = (s: UserStore) => currentSystemAgent(s).agentMeta;const promptRewrite = (s: UserStore) => currentSystemAgent(s).promptRewrite;-const historyCompress = (s: UserStore) => currentSystemAgent(s).historyCompress;const generationTopic = (s: UserStore) => currentSystemAgent(s).generationTopic;const inputCompletion = (s: UserStore) => currentSystemAgent(s).inputCompletion;const followUpAction = (s: UserStore) => currentSystemAgent(s).followUpAction;@@ -33,7 +32,6 @@ export const systemAgentSelectors = {followUpAction,generationTopic,goal,- historyCompress,inputCompletion,isAsrConfigured,promptRewrite,