fix: reference input of updateVariable node (#1367)

* fix: reference input of updateVariable node

* fix
This commit is contained in:
heheer
2024-05-06 13:51:15 +08:00
committed by GitHub
parent 59bd2a47b6
commit 8863337606
10 changed files with 50 additions and 40 deletions

View File

@@ -201,7 +201,7 @@ export const streamFetch = ({
});
} else if (event === SseResponseEventEnum.flowResponses && Array.isArray(parseJson)) {
responseData = parseJson;
} else if (event === SseResponseEventEnum.variables) {
} else if (event === SseResponseEventEnum.updateVariables) {
newVariables = parseJson;
} else if (event === SseResponseEventEnum.error) {
if (parseJson.statusText === TeamErrEnum.aiPointsNotEnough) {