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): evaluate template-expression scripts with the legacy sandbox (#16189)

Chaker Atallahfe8ddd876593
diff --git a/packages/server/engine/src/lib/variables/script-evaluator.ts b/packages/server/engine/src/lib/variables/script-evaluator.ts
index 2e465bf2048..4b705f92b99 100644
--- a/packages/server/engine/src/lib/variables/script-evaluator.ts
+++ b/packages/server/engine/src/lib/variables/script-evaluator.ts
@@ -17,7 +17,7 @@ export const scriptEvaluator = {
const session = await scriptSession.get()
return await session.run(script) ?? ''
}
- const codeSandbox = await initCodeSandbox({ useDeno: true })
+ const codeSandbox = await initCodeSandbox({ useDeno: false })
const scriptResult = await codeSandbox.runScript({
script,
scriptContext: scriptContext ?? {},