mirror of
https://github.com/danswer-ai/danswer.git
synced 2025-09-29 05:15:12 +02:00
Fix quote loading
This commit is contained in:
@@ -105,6 +105,9 @@ const searchRequestStreamed = async (
|
|||||||
answer += answerChunk;
|
answer += answerChunk;
|
||||||
updateCurrentAnswer(answer);
|
updateCurrentAnswer(answer);
|
||||||
} else if (chunk.answer_finished) {
|
} 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 (
|
if (
|
||||||
!answer.endsWith(".") &&
|
!answer.endsWith(".") &&
|
||||||
!answer.endsWith("?") &&
|
!answer.endsWith("?") &&
|
||||||
|
Reference in New Issue
Block a user