From 77950e48c76f4a3b29d01831d43039caba29888a Mon Sep 17 00:00:00 2001
From: wwf <1971391498@qq.com>
Date: 星期二, 18 十一月 2025 14:12:42 +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