Chore/leave default timeout for sandbox execution (#5263)

leave default timeout for sandbox execution
This commit is contained in:
Henry Heng
2025-09-28 11:27:19 +01:00
committed by GitHub
parent dd284e37c3
commit 84a0a45ff7
19 changed files with 25 additions and 53 deletions
@@ -204,9 +204,7 @@ class State_SeqAgents implements INode {
const sandbox = createCodeExecutionSandbox('', variables, flow)
try {
const response = await executeJavaScriptCode(`return ${stateMemoryCode}`, sandbox, {
timeout: 10000
})
const response = await executeJavaScriptCode(`return ${stateMemoryCode}`, sandbox)
if (typeof response !== 'object') throw new Error('State must be an object')
const returnOutput: ISeqAgentNode = {