Fix quote loading

This commit is contained in:
Weves 2023-05-21 20:26:53 -07:00 committed by Chris Weaver
parent 806653dcb0
commit dd79b9bf79

View File

@ -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("?") &&