mirror of
https://github.com/CherryHQ/cherry-studio.git
synced 2026-01-10 23:59:45 +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()
|
const messages = onGetMessages()
|
||||||
fetchChatCompletion({
|
fetchChatCompletion({
|
||||||
message,
|
message,
|
||||||
messages: [...messages, message],
|
messages: messages.filter((m) => !m.status.includes('ing')),
|
||||||
assistant,
|
assistant,
|
||||||
topic,
|
topic,
|
||||||
onResponse: (msg) => {
|
onResponse: (msg) => {
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user