Environment Variables: injection of variables into the custom script

This commit is contained in:
vinodkiran
2023-12-10 22:39:06 +05:30
parent 1d1bd4f556
commit 0bf5536095
2 changed files with 3 additions and 2 deletions
@@ -80,7 +80,8 @@ export class DynamicStructuredTool<
sandbox[`$${item}`] = arg[item]
}
}
sandbox['$env'] = { USER: 'VINOD' }
console.log('sandbox === ' + JSON.stringify(sandbox))
const defaultAllowBuiltInDep = [
'assert',
'buffer',