diff --git a/mateclaw-ui/src/i18n/locales/en-US.ts b/mateclaw-ui/src/i18n/locales/en-US.ts index ddeca4a6..9fea43f1 100644 --- a/mateclaw-ui/src/i18n/locales/en-US.ts +++ b/mateclaw-ui/src/i18n/locales/en-US.ts @@ -1805,6 +1805,8 @@ export default { success: 'Success', failed: 'Failed', skipped: 'Skipped', + running: 'Running', + pending: 'Pending', }, report: { mode: 'Mode', diff --git a/mateclaw-ui/src/i18n/locales/zh-CN.ts b/mateclaw-ui/src/i18n/locales/zh-CN.ts index 836ee0ad..54d1cf8a 100644 --- a/mateclaw-ui/src/i18n/locales/zh-CN.ts +++ b/mateclaw-ui/src/i18n/locales/zh-CN.ts @@ -1815,6 +1815,8 @@ export default { success: '成功', failed: '失败', skipped: '跳过', + running: '运行中', + pending: '等待中', }, report: { mode: '模式', diff --git a/mateclaw-ui/src/stores/useMemoryStore.ts b/mateclaw-ui/src/stores/useMemoryStore.ts index 4080a1b4..1d2799a9 100644 --- a/mateclaw-ui/src/stores/useMemoryStore.ts +++ b/mateclaw-ui/src/stores/useMemoryStore.ts @@ -51,8 +51,10 @@ export const useMemoryStore = defineStore('memory', () => { try { const res = await http.get(`/memory/${agentId}/dream/reports/${reportId}`) currentReport.value = res.data - } catch { + error.value = null + } catch (e: any) { currentReport.value = null + error.value = e.message || 'Failed to load report' } finally { loading.value = false } diff --git a/mateclaw-ui/src/views/Memory/components/MorningCard.vue b/mateclaw-ui/src/views/Memory/components/MorningCard.vue index 1cadfee3..39601594 100644 --- a/mateclaw-ui/src/views/Memory/components/MorningCard.vue +++ b/mateclaw-ui/src/views/Memory/components/MorningCard.vue @@ -18,7 +18,7 @@