Skip to content

armgit / E2B

Public Imported from GitHub
0

Open-source, secure environment with real-world tools for enterprise-grade agents.

Parametrize

Tomas Valenta7758a87dac93
diff --git a/api-service/playground/src/deployments/deployment.ts b/api-service/playground/src/deployments/deployment.ts
index 07703dc95..d42d65f89 100644
--- a/api-service/playground/src/deployments/deployment.ts
+++ b/api-service/playground/src/deployments/deployment.ts
@@ -29,6 +29,7 @@ if (!credentials.accessKeyId || !credentials.secretAccessKey) {
}
const region = 'us-east-1'
+const architecture = 'arm64'
// TODO: Devbook Acc env var for aws initialization
// TODO: lambda.destroy() on quit?
@@ -120,6 +121,7 @@ export async function createDeploymentInSession(
Environment: {
Variables: envVars,
},
+ Architectures: [architecture],
})
)
await waitForUpdate(projectID)
@@ -172,6 +174,7 @@ export async function createDeploymentInSession(
new UpdateFunctionCodeCommand({
FunctionName: projectID,
ZipFile: zip,
+ Architectures: [architecture],
})
)
await waitForUpdate(projectID)