fix: removed filter condition and messages from fetchchatcompletion() payload
This commit is contained in:
parent
1f8551135f
commit
a83d514169
@ -101,7 +101,7 @@ const MessageItem: FC<Props> = ({
|
||||
const messages = onGetMessages()
|
||||
fetchChatCompletion({
|
||||
message,
|
||||
messages: [...messages, message],
|
||||
messages: messages.filter((m) => !m.status.includes('ing')),
|
||||
assistant,
|
||||
topic,
|
||||
onResponse: (msg) => {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user