Your lightweight open-source personal agent.
Python agent-frameworkai-agentai-agentschatbotchatopsdiscord-botllm-agentsllmslocal-llmmcpmodel-context-protocolmulti-agentopenai-compatibleopenclawpersonal-ai-assistantpythonself-hostedtelegram-bot-ai-assistantwebuiworkflow-automation
fix(webui): trim automation creation prompt
chengyongru6cf1f8e1645a
diff --git a/webui/src/components/settings/SettingsView.tsx b/webui/src/components/settings/SettingsView.tsxindex fc2514a06..58d857373 100644--- a/webui/src/components/settings/SettingsView.tsx+++ b/webui/src/components/settings/SettingsView.tsx@@ -3374,16 +3374,7 @@ function AutomationsSettings({return (<div className="space-y-5"><section className="rounded-[24px] border border-border/50 bg-card/82 px-4 py-4 shadow-[0_18px_65px_rgba(15,23,42,0.07)] backdrop-blur-xl sm:px-5">- <div className="flex justify-end">- <Button asChild className="h-9 rounded-full px-3 text-[13px]">- <a href="#/new">- <Plus className="mr-2 h-3.5 w-3.5" aria-hidden />- {tx("settings.automations.newInChat", "New in chat")}- </a>- </Button>- </div>-- <div className="mt-4 grid gap-2 sm:grid-cols-4">+ <div className="grid gap-2 sm:grid-cols-4"><AutomationStat label={tx("settings.automations.stats.active", "Active")} value={activeCount} /><AutomationStat label={tx("settings.automations.stats.paused", "Paused")} value={pausedCount} /><AutomationStat label={tx("settings.automations.stats.failed", "Failed")} value={failedCount} />diff --git a/webui/src/i18n/locales/en/common.json b/webui/src/i18n/locales/en/common.jsonindex 47ef7a458..102951735 100644--- a/webui/src/i18n/locales/en/common.json+++ b/webui/src/i18n/locales/en/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "Workspace automations","title": "Automations",- "newInChat": "New in chat","stats": {"active": "Active","paused": "Paused",diff --git a/webui/src/i18n/locales/es/common.json b/webui/src/i18n/locales/es/common.jsonindex 248f8ce53..d1f793de1 100644--- a/webui/src/i18n/locales/es/common.json+++ b/webui/src/i18n/locales/es/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "Automatizaciones del espacio","title": "Automatizaciones",- "newInChat": "Crear en chat","stats": {"active": "Activas","paused": "Pausadas",diff --git a/webui/src/i18n/locales/fr/common.json b/webui/src/i18n/locales/fr/common.jsonindex 38baa058c..992be5ed5 100644--- a/webui/src/i18n/locales/fr/common.json+++ b/webui/src/i18n/locales/fr/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "Automatisations de l’espace","title": "Automatisations",- "newInChat": "Créer dans le chat","stats": {"active": "Actives","paused": "En pause",diff --git a/webui/src/i18n/locales/id/common.json b/webui/src/i18n/locales/id/common.jsonindex 9dd205d07..01ed7a931 100644--- a/webui/src/i18n/locales/id/common.json+++ b/webui/src/i18n/locales/id/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "Otomasi ruang kerja","title": "Otomasi",- "newInChat": "Buat di chat","stats": {"active": "Aktif","paused": "Dijeda",diff --git a/webui/src/i18n/locales/ja/common.json b/webui/src/i18n/locales/ja/common.jsonindex b0472c74c..f2ed06d32 100644--- a/webui/src/i18n/locales/ja/common.json+++ b/webui/src/i18n/locales/ja/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "ワークスペースの自動タスク","title": "自動タスク",- "newInChat": "チャットで作成","stats": {"active": "実行中","paused": "一時停止",diff --git a/webui/src/i18n/locales/ko/common.json b/webui/src/i18n/locales/ko/common.jsonindex 2a30e62ec..5780f2b18 100644--- a/webui/src/i18n/locales/ko/common.json+++ b/webui/src/i18n/locales/ko/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "작업 공간 자동화","title": "자동화",- "newInChat": "채팅에서 만들기","stats": {"active": "활성","paused": "일시 중지",diff --git a/webui/src/i18n/locales/vi/common.json b/webui/src/i18n/locales/vi/common.jsonindex 942d9abfe..74f85ad57 100644--- a/webui/src/i18n/locales/vi/common.json+++ b/webui/src/i18n/locales/vi/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "Tự động hóa không gian làm việc","title": "Tự động hóa",- "newInChat": "Tạo trong chat","stats": {"active": "Đang chạy","paused": "Đã tạm dừng",diff --git a/webui/src/i18n/locales/zh-CN/common.json b/webui/src/i18n/locales/zh-CN/common.jsonindex 986b8673f..9f16b6206 100644--- a/webui/src/i18n/locales/zh-CN/common.json+++ b/webui/src/i18n/locales/zh-CN/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "工作区自动任务","title": "自动任务",- "newInChat": "在聊天中创建","stats": {"active": "运行中","paused": "已暂停",diff --git a/webui/src/i18n/locales/zh-TW/common.json b/webui/src/i18n/locales/zh-TW/common.jsonindex 23de0541e..9d5d168a9 100644--- a/webui/src/i18n/locales/zh-TW/common.json+++ b/webui/src/i18n/locales/zh-TW/common.json@@ -466,7 +466,6 @@"automations": {"kicker": "工作區自動任務","title": "自動任務",- "newInChat": "在聊天中建立","stats": {"active": "執行中","paused": "已暫停",diff --git a/webui/src/tests/i18n.test.tsx b/webui/src/tests/i18n.test.tsxindex e185b87b6..b15c13dab 100644--- a/webui/src/tests/i18n.test.tsx+++ b/webui/src/tests/i18n.test.tsx@@ -49,7 +49,6 @@ const LOCALIZED_SETTINGS_COPY_KEYS = ["settings.nav.advanced","sidebar.automations","settings.automations.title",- "settings.automations.newInChat","settings.automations.filters.active","settings.automations.queue","settings.automations.empty",