From a430284aa21e3ae1f0d5654e55b2ad2852519cc2 Mon Sep 17 00:00:00 2001 From: wwf <yearningwang@iqtogether.com> Date: 星期三, 04 六月 2025 15:17:49 +0800 Subject: [PATCH] 初始化 --- app/components/base/chat/chat/answer/agent-content.tsx | 4 +--- 1 files changed, 1 insertions(+), 3 deletions(-) diff --git a/app/components/base/chat/chat/answer/agent-content.tsx b/app/components/base/chat/chat/answer/agent-content.tsx index c20e38c..6f03c93 100644 --- a/app/components/base/chat/chat/answer/agent-content.tsx +++ b/app/components/base/chat/chat/answer/agent-content.tsx @@ -11,12 +11,10 @@ type AgentContentProps = { item: ChatItem responding?: boolean - content?: string } const AgentContent: FC<AgentContentProps> = ({ item, responding, - content, }) => { const { annotation, @@ -28,7 +26,7 @@ return ( <div> - {content ? <Markdown content={content} /> : agent_thoughts?.map((thought, index) => ( + {agent_thoughts?.map((thought, index) => ( <div key={index} className='px-2 py-1'> {thought.thought && ( <Markdown content={thought.thought} /> -- Gitblit v1.8.0