patch stream response

This commit is contained in:
timothycarambat 2024-01-10 15:32:07 -08:00
parent 4e2c0f04b4
commit dfd03e332c

View File

@ -262,7 +262,7 @@ function handleStreamResponses(response, stream, responseProps) {
});
}
if ((stream.type = "togetherAiStream")) {
if (stream.type === "togetherAiStream") {
return new Promise((resolve) => {
let fullText = "";
let chunk = "";