diff --git a/packages/bot-engine/forge/executeForgedBlock.ts b/packages/bot-engine/forge/executeForgedBlock.ts index 7c50e8567..32e0e01c9 100644 --- a/packages/bot-engine/forge/executeForgedBlock.ts +++ b/packages/bot-engine/forge/executeForgedBlock.ts @@ -3,7 +3,6 @@ import { forgedBlocks } from '@typebot.io/forge-repository/definitions' import { ForgedBlock } from '@typebot.io/forge-repository/types' import { decrypt } from '@typebot.io/lib/api/encryption/decrypt' import { isPlaneteScale } from '@typebot.io/lib/isPlanetScale' -import prisma from '@typebot.io/lib/prisma' import { SessionState, ContinueChatResponse, @@ -19,7 +18,6 @@ import { updateVariablesInSession } from '@typebot.io/variables/updateVariablesI import { ExecuteIntegrationResponse } from '../types' import { byId } from '@typebot.io/lib' import { BubbleBlockType } from '@typebot.io/schemas/features/blocks/bubbles/constants' -import { env } from '@typebot.io/env' import { getCredentials } from '../queries/getCredentials' export const executeForgedBlock = async ( @@ -60,8 +58,9 @@ export const executeForgedBlock = async ( action.run.stream.getStreamVariableId(block.options) ) && state.isStreamEnabled && - !state.whatsApp + !state.whatsApp && // TODO: Enable once chat api is rolling + isPlaneteScale() // !process.env.VERCEL_ENV ) { return {