mirror of
https://github.com/infiniflow/ragflow.git
synced 2025-12-08 20:42:30 +08:00
feat: When voice is turned on, the page will not display an empty reply message when the answer is empty #1877 (#2447)
### What problem does this PR solve? feat: When voice is turned on, the page will not display an empty reply message when the answer is empty #1877 ### Type of change - [x] New Feature (non-breaking change which adds functionality)
This commit is contained in:
@ -429,7 +429,7 @@ export const useSendNextMessage = () => {
|
||||
if (
|
||||
answer.answer &&
|
||||
(answer?.conversationId === conversationId ||
|
||||
(!done && conversationId === ''))
|
||||
((!done || (done && answer.audio_binary)) && conversationId === ''))
|
||||
) {
|
||||
addNewestAnswer(answer);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user