Skip to content

Commit 2c37018

Browse files
authored
feat: Include runtime when listing sandbox evals (#1764)
In order to add support for python based sandboxes we need to pass the runtime into the list request. The change is backwards compatible and the value will be stripped on out of date data plane versions.
1 parent 1505e09 commit 2c37018

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

js/src/sandbox.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,7 @@ export async function registerSandbox(
120120
provider: options.sandbox.provider,
121121
snapshot_ref: options.sandbox.snapshotRef,
122122
},
123+
runtime_context: runtimeContext,
123124
entrypoints: options.entrypoints,
124125
project_id: projectId,
125126
},

0 commit comments

Comments
 (0)