Commit 0a0fe31d by Archer Committed by GitHub

V4.6-2 (#460)

parent 9f889d88
......@@ -4,7 +4,7 @@ description: 'FastGPT V4.6 更新'
icon: 'upgrade'
draft: false
toc: true
weight: 837
weight: 836
---
未正式发布。
......
......@@ -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 */}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment