From ff982ba92f991d2292cec34cca6ca8598bf6ddb4 Mon Sep 17 00:00:00 2001 From: Dillon Laird Date: Sat, 12 Oct 2024 19:45:30 -0700 Subject: [PATCH] updated docs --- README.md | 5 +++++ docs/index.md | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/README.md b/README.md index 5bc93977..3812767a 100644 --- a/README.md +++ b/README.md @@ -345,6 +345,11 @@ result = agent.generate_code(conv) ## Additional Backends +### E2B Code Execution +If you wish to run your code on the E2B backend, make sure you have your `E2B_API_KEY` +set and then set `CODE_SANDBOX_RUNTIME=e2b` in your environment variables. This will +run all the agent generated code on the E2B backend. + ### Anthropic `AnthropicVisionAgentCoder` uses Anthropic. To get started you just need to get an Anthropic API key and set it in your environment variables: diff --git a/docs/index.md b/docs/index.md index 08c808a9..297f70ac 100644 --- a/docs/index.md +++ b/docs/index.md @@ -341,6 +341,11 @@ result = agent.generate_code(conv) ## Additional Backends +### E2B Code Execution +If you wish to run your code on the E2B backend, make sure you have your `E2B_API_KEY` +set and then set `CODE_SANDBOX_RUNTIME=e2b` in your environment variables. This will +run all the agent generated code on the E2B backend. + ### Anthropic `AnthropicVisionAgentCoder` uses Anthropic. To get started you just need to get an Anthropic API key and set it in your environment variables: