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