This commit is contained in:
Archer
2023-11-09 12:56:16 +08:00
committed by GitHub
parent 9f889d8806
commit 0a0fe31d3c
2 changed files with 3 additions and 8 deletions

View File

@@ -4,7 +4,7 @@ description: 'FastGPT V4.6 更新'
icon: 'upgrade'
draft: false
toc: true
weight: 837
weight: 836
---
未正式发布。

View File

@@ -99,7 +99,7 @@ type Props = {
appAvatar?: string;
userAvatar?: string;
userGuideModule?: ModuleItemType;
active?: boolean;
active?: boolean; // can use
onUpdateVariable?: (e: Record<string, any>) => void;
onStartChat?: (e: StartChatFnProps) => Promise<{
responseText: string;
@@ -602,12 +602,7 @@ const ChatBox = (
{/* chat history */}
<Box id={'history'}>
{chatHistory.map((item, index) => (
<Box
key={item.dataId}
flexDirection={'column'}
alignItems={item.obj === 'Human' ? 'flex-end' : 'flex-start'}
py={5}
>
<Box key={item.dataId} py={5}>
{item.obj === 'Human' && (
<>
{/* control icon */}