From f060720fcc8238d256cba9975f405448d3f57724 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=A6=82=E5=A8=81?= Date: Wed, 7 Jan 2026 15:49:16 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E5=88=A0=E9=99=A4=E5=A4=9A=E4=BD=99?= =?UTF-8?q?=E5=BC=95=E7=94=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/pages/chat/index.tsx | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/pages/chat/index.tsx b/src/pages/chat/index.tsx index 3eb5106..8936b1b 100644 --- a/src/pages/chat/index.tsx +++ b/src/pages/chat/index.tsx @@ -1,11 +1,10 @@ -import { nanoid, PageContainer } from '@ant-design/pro-components'; +import { PageContainer } from '@ant-design/pro-components'; import type { ModelItem } from '@/components/Custom/HeaderModelSelect'; import styles from './index.less'; -import React, { useEffect, useState } from 'react'; +import React, { useState } from 'react'; import HeaderModelSelect from '@/components/Custom/HeaderModelSelect'; import InputBar from '@/components/Custom/InputBar'; import type { InputBarSubmitHandler, InputBarEvent } from '@/components/Custom/InputBar'; -import { ChatMessage } from '@/components/Custom/ChatList/types'; import { ChatList } from '@/components/Custom/ChatList'; import { useChat } from '@/components/Custom/ChatList/hooks/useChat'; import { Flex } from 'antd';