mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-04-08 20:08:36 +02:00
Fix quote loading
This commit is contained in:
parent
806653dcb0
commit
dd79b9bf79
@ -105,6 +105,9 @@ const searchRequestStreamed = async (
|
||||
answer += answerChunk;
|
||||
updateCurrentAnswer(answer);
|
||||
} else if (chunk.answer_finished) {
|
||||
// set quotes as non-null to signify that the answer is finished and
|
||||
// we're now looking for quotes
|
||||
updateQuotes({});
|
||||
if (
|
||||
!answer.endsWith(".") &&
|
||||
!answer.endsWith("?") &&
|
||||
|
Loading…
x
Reference in New Issue
Block a user