From 8b5e55a673cdee0a05d4f3cd26c9117da99441df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=85=AC=E6=98=8E?= <83812544+Ed1s0nZ@users.noreply.github.com> Date: Thu, 11 Jun 2026 11:44:20 +0800 Subject: [PATCH] Add files via upload --- web/static/i18n/en-US.json | 2 ++ web/static/i18n/zh-CN.json | 2 ++ web/static/js/chat.js | 4 ++++ web/static/js/monitor.js | 15 +++++++++++++++ 4 files changed, 23 insertions(+) diff --git a/web/static/i18n/en-US.json b/web/static/i18n/en-US.json index a20d2210..592a4b14 100644 --- a/web/static/i18n/en-US.json +++ b/web/static/i18n/en-US.json @@ -501,6 +501,8 @@ "einoStreamErrorTitle": "⚠️ Eino stream interrupted ({{agent}})", "einoStreamErrorMessage": "Streaming read failed; the system will retry or terminate according to policy.", "einoRunRetryTitle": "🔁 Transient error retry", + "einoEmptyResponseContinueTitle": "🔁 Auto resume (no assistant text)", + "einoEmptyResponseContinueMessage": "Session ended without captured assistant text; resuming from trace…", "einoRunRetryErrorDetail": "Error detail", "iterationLimitReachedTitle": "⛔ Iteration limit reached", "iterationLimitReachedMessage": "Maximum iteration count reached; automatic iteration has stopped.", diff --git a/web/static/i18n/zh-CN.json b/web/static/i18n/zh-CN.json index bb9b1079..a8716b6a 100644 --- a/web/static/i18n/zh-CN.json +++ b/web/static/i18n/zh-CN.json @@ -489,6 +489,8 @@ "einoStreamErrorTitle": "⚠️ Eino 流式中断({{agent}})", "einoStreamErrorMessage": "流式读取异常,系统将按策略重试或结束。", "einoRunRetryTitle": "🔁 临时错误重试", + "einoEmptyResponseContinueTitle": "🔁 自动续跑(无助手正文)", + "einoEmptyResponseContinueMessage": "会话已结束但未捕获到助手正文,正在基于轨迹自动续跑…", "einoRunRetryErrorDetail": "具体报错", "iterationLimitReachedTitle": "⛔ 达到迭代上限", "iterationLimitReachedMessage": "已达到最大迭代次数,任务已停止继续自动迭代。", diff --git a/web/static/js/chat.js b/web/static/js/chat.js index f0f5d345..27234f24 100644 --- a/web/static/js/chat.js +++ b/web/static/js/chat.js @@ -2384,6 +2384,10 @@ function renderProcessDetails(messageId, processDetails) { itemTitle = agPx + execLine; } else if (eventType === 'eino_agent_reply') { itemTitle = agPx + '💬 ' + (typeof window.t === 'function' ? window.t('chat.einoAgentReplyTitle') : '子代理回复'); + } else if (eventType === 'eino_empty_response_continue') { + itemTitle = typeof window.t === 'function' + ? window.t('chat.einoEmptyResponseContinueTitle') + : '🔁 自动续跑(无助手正文)'; } else if (eventType === 'eino_run_retry') { itemTitle = typeof window.t === 'function' ? window.t('chat.einoRunRetryTitle') diff --git a/web/static/js/monitor.js b/web/static/js/monitor.js index 8cb5545a..94c32e53 100644 --- a/web/static/js/monitor.js +++ b/web/static/js/monitor.js @@ -1784,6 +1784,21 @@ function handleStreamEvent(event, progressElement, progressId, break; } + case 'eino_empty_response_continue': { + const d = event.data || {}; + const title = typeof window.t === 'function' + ? window.t('chat.einoEmptyResponseContinueTitle') + : '🔁 自动续跑(无助手正文)'; + addTimelineItem(timeline, 'warning', { + title: title, + message: event.message || (typeof window.t === 'function' + ? window.t('chat.einoEmptyResponseContinueMessage') + : '会话已结束但未捕获到助手正文,正在基于轨迹自动续跑…'), + data: d + }); + break; + } + case 'eino_run_retry': { const d = event.data || {}; const title = typeof window.t === 'function'