2
0

⬆️ Upgrade AI SDK (#1641)

This commit is contained in:
Baptiste Arnaud
2024-07-15 14:32:42 +02:00
committed by GitHub
parent a4fb8b6d10
commit 043f0054b0
60 changed files with 2183 additions and 1683 deletions

View File

@ -128,7 +128,10 @@ export const getMessageStream = async ({
state: session.state,
currentBlockId: session.state.currentBlockId,
})
if (newSetVariableHistory.length > 0)
if (
newSetVariableHistory.length > 0 &&
session.state.typebotsQueue[0].resultId
)
await saveSetVariableHistoryItems(newSetVariableHistory)
await updateSession({
id: session.id,