mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-11-05 06:20:10 +01:00
patch stream response
This commit is contained in:
parent
4e2c0f04b4
commit
dfd03e332c
@ -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 = "";
|
||||
|
Loading…
Reference in New Issue
Block a user