Skip to content

armgit / E2B

Public Imported from GitHub
0

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

Add quickstart code snippet to the playground/overview page

Vasek Mlejnsky39aecf9f3676
diff --git a/apps/docs/src/app/playgrounds/limitations/page.mdx b/apps/docs/src/app/playgrounds/limitations/page.mdx
index 057177919..81d7a33d3 100644
--- a/apps/docs/src/app/playgrounds/limitations/page.mdx
+++ b/apps/docs/src/app/playgrounds/limitations/page.mdx
@@ -29,16 +29,3 @@ Each playground will have preinstalled binaries for the given runtime. So for ex
similarly `Go` playground will have preinstalled runtime to run `Go` scripts and so on.
However, you're free to install any other binaries, libraries, packagets, etc on your playground once you start it.
-
-
-
-<CodeGroup>
-```js {{ language: 'js', snippet: 'js/quickstart.js' }}
-```
-
-```ts {{ language: 'ts', snippet: 'ts/quickstart.ts' }}
-```
-
-```python {{ language: 'python', snippet: 'python/quickstart.py' }}
-```
-</CodeGroup>
\ No newline at end of file
diff --git a/apps/docs/src/app/playgrounds/overview/page.mdx b/apps/docs/src/app/playgrounds/overview/page.mdx
index 9adcd603d..dc6b4f1ae 100644
--- a/apps/docs/src/app/playgrounds/overview/page.mdx
+++ b/apps/docs/src/app/playgrounds/overview/page.mdx
@@ -25,6 +25,8 @@ Here's a quick code example showing how to create an AI Playground.
<CodeGroup>
```python {{ language: 'python', snippet: 'python/basics/init.py' }}
```
+```js {{ language: 'js', snippet: 'js/basics/init.js' }}
+```
</CodeGroup>
Head over to [SDK Basics](/getting-started/basics) to see more quick start examples.