Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
赵月辉
/
fastgpt-migrated
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Snippets
Members
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Unverified
Commit
0a0fe31d
authored
Nov 09, 2023
by
Archer
Committed by
GitHub
Nov 09, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
V4.6-2 (#460)
parent
9f889d88
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
8 deletions
+3
-8
docSite/content/docs/installation/upgrading/46.md
+1
-1
projects/app/src/components/ChatBox/index.tsx
+2
-7
No files found.
docSite/content/docs/installation/upgrading/46.md
View file @
0a0fe31d
...
@@ -4,7 +4,7 @@ description: 'FastGPT V4.6 更新'
...
@@ -4,7 +4,7 @@ description: 'FastGPT V4.6 更新'
icon
:
'
upgrade'
icon
:
'
upgrade'
draft
:
false
draft
:
false
toc
:
true
toc
:
true
weight
:
83
7
weight
:
83
6
---
---
未正式发布。
未正式发布。
...
...
projects/app/src/components/ChatBox/index.tsx
View file @
0a0fe31d
...
@@ -99,7 +99,7 @@ type Props = {
...
@@ -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 = (
...
@@ -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 */
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment