Skip to content

Commit 13da2fe

Browse files
authored
Merge pull request #1142 from weihongliang233/main
Add DevContainer Support
2 parents 9df590b + 5c77242 commit 13da2fe

File tree

4 files changed

+19
-0
lines changed

4 files changed

+19
-0
lines changed

.devcontainer/DockerFile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
FROM python:3.11

.devcontainer/devcontainer.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
{
2+
"name": "Open Interpreter",
3+
"dockerFile": "DockerFile",
4+
// Features to add to the dev container. More info: https://containers.dev/features.
5+
// "features": {},
6+
"onCreateCommand": "pip install .",
7+
"postAttachCommand": "interpreter -y"
8+
// Configure tool-specific properties.
9+
// "customizations": {},
10+
}

README.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,10 @@ interpreter.chat("Plot AAPL and META's normalized stock prices") # Executes a si
8383
interpreter.chat() # Starts an interactive chat
8484
```
8585

86+
### GitHub Codespaces
87+
88+
Press the `,` key on this repository's GitHub page to create a codespace. After a moment, you'll receive a cloud virtual machine environment pre-installed with open-interpreter. You can then start interacting with it directly and freely confirm its execution of system commands without worrying about damaging the system.
89+
8690
## Comparison to ChatGPT's Code Interpreter
8791

8892
OpenAI's release of [Code Interpreter](https://openai.com/blog/chatgpt-plugins#code-interpreter) with GPT-4 presents a fantastic opportunity to accomplish real-world tasks with ChatGPT.

docs/getting-started/setup.mdx

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,7 @@ interpreter.chat("Get the last 5 BBC news headlines.")
5959
```
6060

6161
[Click here](/usage/python/streaming-response) to learn how to stream its response into your application.
62+
63+
## No Installation
64+
65+
If configuring your computer environment is challenging, you can press the `,` key on this repository's GitHub page to create a codespace. After a moment, you'll receive a cloud virtual machine environment pre-installed with open-interpreter. You can then start interacting with it directly and freely confirm its execution of system commands without worrying about damaging the system.

0 commit comments

Comments
 (0)