Skip to content

AI Agents & MCPs & AI Workflow Automation • (~400 MCP servers for AI agents) • AI Automation / AI Agent with MCPs • AI Workflows & AI Agents • MCPs for AI Agents

chore(engine): use the legacy sandbox for the shared script session too (#16190)

Chaker Atallahe57fcbf637ea
diff --git a/packages/server/engine/src/lib/core/code/shared-script-session.ts b/packages/server/engine/src/lib/core/code/shared-script-session.ts
index ad92be25df2..2d3a499b075 100644
--- a/packages/server/engine/src/lib/core/code/shared-script-session.ts
+++ b/packages/server/engine/src/lib/core/code/shared-script-session.ts
@@ -7,7 +7,7 @@ export function createSharedScriptSession(buildParams: () => Promise<CreateScrip
return {
get: () => {
if (isNil(sessionPromise)) {
- sessionPromise = initCodeSandbox({ useDeno: true }).then(async (codeSandbox) => codeSandbox.createScriptSession(await buildParams()))
+ sessionPromise = initCodeSandbox({ useDeno: false }).then(async (codeSandbox) => codeSandbox.createScriptSession(await buildParams()))
}
return sessionPromise
},