mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 21:13:50 +00:00
V4.6-2 (#460)
This commit is contained in:
@@ -4,7 +4,7 @@ description: 'FastGPT V4.6 更新'
|
|||||||
icon: 'upgrade'
|
icon: 'upgrade'
|
||||||
draft: false
|
draft: false
|
||||||
toc: true
|
toc: true
|
||||||
weight: 837
|
weight: 836
|
||||||
---
|
---
|
||||||
|
|
||||||
未正式发布。
|
未正式发布。
|
||||||
|
@@ -99,7 +99,7 @@ type Props = {
|
|||||||
appAvatar?: string;
|
appAvatar?: string;
|
||||||
userAvatar?: string;
|
userAvatar?: string;
|
||||||
userGuideModule?: ModuleItemType;
|
userGuideModule?: ModuleItemType;
|
||||||
active?: boolean;
|
active?: boolean; // can use
|
||||||
onUpdateVariable?: (e: Record<string, any>) => void;
|
onUpdateVariable?: (e: Record<string, any>) => void;
|
||||||
onStartChat?: (e: StartChatFnProps) => Promise<{
|
onStartChat?: (e: StartChatFnProps) => Promise<{
|
||||||
responseText: string;
|
responseText: string;
|
||||||
@@ -602,12 +602,7 @@ const ChatBox = (
|
|||||||
{/* chat history */}
|
{/* chat history */}
|
||||||
<Box id={'history'}>
|
<Box id={'history'}>
|
||||||
{chatHistory.map((item, index) => (
|
{chatHistory.map((item, index) => (
|
||||||
<Box
|
<Box key={item.dataId} py={5}>
|
||||||
key={item.dataId}
|
|
||||||
flexDirection={'column'}
|
|
||||||
alignItems={item.obj === 'Human' ? 'flex-end' : 'flex-start'}
|
|
||||||
py={5}
|
|
||||||
>
|
|
||||||
{item.obj === 'Human' && (
|
{item.obj === 'Human' && (
|
||||||
<>
|
<>
|
||||||
{/* control icon */}
|
{/* control icon */}
|
||||||
|
Reference in New Issue
Block a user