mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2025-12-25 03:10:08 +08:00
fix: removed filter condition and messages from fetchchatcompletion() payload
This commit is contained in:
parent
9fb91632be
commit
01a201a79b
@ -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…
Reference in New Issue
Block a user