Dernière activité 1730821964

E2B-4.ts Brut
1import { Sandbox } from '@e2b/code-interpreter'
2
3const sandbox = await Sandbox.create()
4await sbx.runCode('x = 1')
5
6const execution = await sbx.runCode('x+=1; x')
7console.log(execution.text) // outputs 2