mirror of
https://github.com/Mintplex-Labs/anything-llm.git
synced 2024-10-04 01:40:12 +02: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) => {
|
return new Promise((resolve) => {
|
||||||
let fullText = "";
|
let fullText = "";
|
||||||
let chunk = "";
|
let chunk = "";
|
||||||
|
Loading…
Reference in New Issue
Block a user