From 65cceb2f21e62306ee2709e105b09f4925839534 Mon Sep 17 00:00:00 2001 From: Soulter <905617992@qq.com> Date: Tue, 3 Feb 2026 00:56:18 +0800 Subject: [PATCH] feat: enhance trace feature with internationalization support for hints and status messages --- dashboard/src/i18n/locales/en-US/features/trace.json | 5 ++++- dashboard/src/i18n/locales/zh-CN/features/trace.json | 5 ++++- dashboard/src/views/TracePage.vue | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/dashboard/src/i18n/locales/en-US/features/trace.json b/dashboard/src/i18n/locales/en-US/features/trace.json index 777dbe946..00b8ab44e 100644 --- a/dashboard/src/i18n/locales/en-US/features/trace.json +++ b/dashboard/src/i18n/locales/en-US/features/trace.json @@ -3,5 +3,8 @@ "autoScroll": { "enabled": "Auto-scroll: On", "disabled": "Auto-scroll: Off" - } + }, + "hint": "Currently only recording partial model call paths from AstrBot main Agent. More coverage will be added.", + "recording": "Recording", + "paused": "Paused" } diff --git a/dashboard/src/i18n/locales/zh-CN/features/trace.json b/dashboard/src/i18n/locales/zh-CN/features/trace.json index 5e36ac5d5..a8923d3bc 100644 --- a/dashboard/src/i18n/locales/zh-CN/features/trace.json +++ b/dashboard/src/i18n/locales/zh-CN/features/trace.json @@ -3,5 +3,8 @@ "autoScroll": { "enabled": "自动滚动:开", "disabled": "自动滚动:关" - } + }, + "hint": "当前仅记录部分 AstrBot 主 Agent 的模型调用路径,后续会不断完善。", + "recording": "记录中", + "paused": "已暂停" } diff --git a/dashboard/src/views/TracePage.vue b/dashboard/src/views/TracePage.vue index 578f966e6..9bc048575 100644 --- a/dashboard/src/views/TracePage.vue +++ b/dashboard/src/views/TracePage.vue @@ -46,7 +46,7 @@ onMounted(() => {
mdi-information-outline - 当前仅记录部分 AstrBot 主 Agent 的模型调用路径,后续会不断完善。 + {{ tm('hint') }}
{ @update:model-value="updateTraceSettings" >