feat: 统一聊天助手头像

- 工作流运行状态、智能体正式聊天与试运行展示助手头像

- 新增默认机器人头像及消息、空状态回退组件
This commit is contained in:
2026-08-03 11:24:12 +08:00
parent dc99d1aa52
commit e3228837f4
12 changed files with 380 additions and 86 deletions

View File

@@ -24,6 +24,7 @@ import {
ChatImageAttachments,
ChatTimeline,
ChatTimelineBuilder,
defaultAssistantAvatar,
} from '@easyflow/common-ui';
import { copyTextToClipboard } from '@easyflow/utils';
@@ -1240,6 +1241,7 @@ onBeforeUnmount(() => {
/>
<ChatTimeline
v-else
:assistant-avatar="selectedAgent?.avatar || defaultAssistantAvatar"
:items="timelineItems"
:document-loader="loadAgentChatDocument"
:image-loader="loadAgentChatImage"