From c24d7c665f44d4c9b6266779a373d490ab18cb07 Mon Sep 17 00:00:00 2001 From: WangDL Date: Fri, 22 May 2026 16:25:04 +0800 Subject: [PATCH] fix: actually remove Avatar from chat --- src/pages/TaskAssistant.tsx | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/src/pages/TaskAssistant.tsx b/src/pages/TaskAssistant.tsx index ea3a437..1607932 100644 --- a/src/pages/TaskAssistant.tsx +++ b/src/pages/TaskAssistant.tsx @@ -1,5 +1,5 @@ import { useState, useRef, useEffect, useCallback } from 'react' -import { Input, Button, Avatar, theme, Typography, App } from 'antd' +import { Input, Button, theme, Typography, App } from 'antd' import { SendOutlined, RobotOutlined, UserOutlined, PlusOutlined, DeleteOutlined, StopOutlined, MessageOutlined, @@ -191,9 +191,6 @@ function ChatPage() { {messages.map(msg => (
- : } - style={{ backgroundColor: msg.role === 'user' ? token.colorPrimary : token.colorSuccess, flexShrink: 0 }} /> -
{msg.role === 'assistant' ? (msg.content