⬆️ Upgrade AI SDK (#1641)
This commit is contained in:
@ -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,
|
||||
|
@ -20,7 +20,7 @@
|
||||
"@typebot.io/variables": "workspace:*",
|
||||
"@udecode/plate-common": "30.4.5",
|
||||
"@typebot.io/logic": "workspace:*",
|
||||
"ai": "3.2.1",
|
||||
"ai": "3.2.22",
|
||||
"chrono-node": "2.7.6",
|
||||
"date-fns": "2.30.0",
|
||||
"date-fns-tz": "2.0.0",
|
||||
|
Reference in New Issue
Block a user