Skip to content

armgit / E2B

Public Imported from GitHub
0

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

docs - fix broken link

Vasek Mlejnskyc1c78795f77d
diff --git a/apps/docs/src/app/getting-started/api-key/page.mdx b/apps/docs/src/app/getting-started/api-key/page.mdx
index f2b189908..5b722b2ac 100644
--- a/apps/docs/src/app/getting-started/api-key/page.mdx
+++ b/apps/docs/src/app/getting-started/api-key/page.mdx
@@ -4,4 +4,4 @@ import APIKey from './APIKey'
<APIKey/>
-Follow the [Basics](/playground/overview) to start using the SDK.
+Follow the [Basics](/playgrounds/overview) to start using the SDK.
diff --git a/apps/docs/src/code/js/code_exec/run_code.js b/apps/docs/src/code/js/code_exec/run_code.js
index 82a0309a6..f9e14fc15 100644
--- a/apps/docs/src/code/js/code_exec/run_code.js
+++ b/apps/docs/src/code/js/code_exec/run_code.js
@@ -1,7 +1,10 @@
+// 1. Import e2b
import { runCode } from '@e2b/sdk'
+// 2. Save LLM-generated code
const llmGeneratedCode = 'print("This code was generated by LLM")'
+// 3. Select runtime & run code in a sandboxed remote environment
const { stdout, stderr } = await runCode('Python3', llmGeneratedCode) // $HighlightLine
console.log(stdout)
console.log(stderr)