Commit 7a9e9e9
fix: use vendi-session template for sandboxes (8 CPU / 8GB RAM)
cpuCount and memoryMB passed to Sandbox.create() were silently ignored
by the e2b SDK — these are template-build-time options, not per-sandbox
overrides. All sandboxes were starting with the default "base" template
(2 CPU / 512 MB). Built a dedicated vendi-session template with the
correct resources and reference it by name.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 41f913c commit 7a9e9e9
2 files changed
Lines changed: 4 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
38 | | - | |
| 37 | + | |
| 38 | + | |
39 | 39 | | |
40 | | - | |
41 | | - | |
42 | 40 | | |
43 | 41 | | |
44 | 42 | | |
45 | 43 | | |
46 | 44 | | |
47 | | - | |
| 45 | + | |
48 | 46 | | |
49 | 47 | | |
50 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
362 | 362 | | |
363 | 363 | | |
364 | 364 | | |
365 | | - | |
| 365 | + | |
366 | 366 | | |
367 | 367 | | |
368 | 368 | | |
| |||
0 commit comments