Skip to content

Commit 8a0be85

Browse files
authored
Merge branch 'main' into collage-screen
2 parents 470e4b2 + df3e29d commit 8a0be85

30 files changed

+187
-10428
lines changed

README.md

Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -364,6 +364,34 @@ Open Interpreter equips a [function-calling language model](https://platform.ope
364364

365365
We then stream the model's messages, code, and your system's outputs to the terminal as Markdown.
366366

367+
# Access Documentation Offline
368+
369+
The full [documentation](https://docs.openinterpreter.com/) is accessible on-the-go without the need for an internet connection.
370+
371+
[Node](https://nodejs.org/en) is a pre-requisite:
372+
373+
- Version 18.17.0 or any later 18.x.x version.
374+
- Version 20.3.0 or any later 20.x.x version.
375+
- Any version starting from 21.0.0 onwards, with no upper limit specified.
376+
377+
Install [Mintlify](https://mintlify.com/):
378+
379+
```bash
380+
npm i -g mintlify@latest
381+
```
382+
383+
Change into the docs directory and run the appropriate command:
384+
385+
```bash
386+
# Assuming you're at the project's root directory
387+
cd ./docs
388+
389+
# Run the documentation server
390+
mintlify dev
391+
```
392+
393+
A new browser window should open. The documentation will be available at [http://localhost:3000](http://localhost:3000) as long as the documentation server is running.
394+
367395
# Contributing
368396

369397
Thank you for your interest in contributing! We welcome involvement from the community.

docs/CONTRIBUTING.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -31,11 +31,10 @@ We will review PRs when possible and work with you to integrate your contributio
3131

3232
Once you've forked the code and created a new branch for your work, you can run the fork in CLI mode by following these steps:
3333

34-
1. CD into the project folder `/open-interpreter`
35-
2. Install dependencies `poetry install`
36-
3. Run the program `poetry run interpreter`
37-
38-
After modifying the source code, you will need to do `poetry run interpreter` again.
34+
1. CD into the project folder by running `cd open-interpreter`.
35+
2. Install `poetry` [according to their documentation](https://python-poetry.org/docs/#installing-with-pipx), which will create a virtual environment for development + handle dependencies.
36+
3. Install dependencies by running `poetry install`.
37+
4. Run the program with `poetry run interpreter`. Run tests with `poetry run pytest -s -x`.
3938

4039
**Note**: This project uses [`black`](https://black.readthedocs.io/en/stable/index.html) and [`isort`](https://pypi.org/project/isort/) via a [`pre-commit`](https://pre-commit.com/) hook to ensure consistent code style. If you need to bypass it for some reason, you can `git commit` with the `--no-verify` flag.
4140

docs/telemetry/telemetry.mdx

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ If you prefer to opt out of telemetry, you can do this in two ways.
1212

1313
### Python
1414

15-
Set `anonymized_telemetry` to `false` on the `interpreter` object:
15+
Set `disable_telemetry` to `true` on the `interpreter` object:
1616

1717
```python
1818
from interpreter import interpreter
19-
interpreter.anonymized_telemetry = False
19+
interpreter.disable_telemetry = True
2020
```
2121

2222
### Terminal
@@ -29,20 +29,20 @@ interpreter --disable_telemetry
2929

3030
### Configuration File
3131

32-
Set `anonymized_telemetry` to `false`. This will persist to future terminal sessions:
32+
Set `disable_telemetry` to `true`. This will persist to future terminal sessions:
3333

3434
```yaml
35-
anonymized_telemetry: false
35+
disable_telemetry: true
3636
```
3737
3838
### Environment Variables
3939
40-
Set `ANONYMIZED_TELEMETRY` to `False` in your shell or server environment.
40+
Set `DISABLE_TELEMETRY` to `true` in your shell or server environment.
4141

4242
If you are running Open Interpreter on your local computer with `docker-compose` you can set this value in an `.env` file placed in the same directory as the `docker-compose.yml` file:
4343

4444
```
45-
ANONYMIZED_TELEMETRY=False
45+
DISABLE_TELEMETRY=true
4646
```
4747

4848
# What do you track?

interpreter/core/ARCHIVE_extend_system_message.py

Lines changed: 0 additions & 76 deletions
This file was deleted.

interpreter/core/ARCHIVE_rag/ARCHIVE_get_relevant_procedures_string.py

Lines changed: 0 additions & 30 deletions
This file was deleted.

interpreter/core/ARCHIVE_rag/ARCHIVE_local_get_relevant_procedures_string.py

Lines changed: 0 additions & 70 deletions
This file was deleted.

interpreter/core/ARCHIVE_rag/__init__.py

Whitespace-only changes.

interpreter/core/computer/computer.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@ def __init__(self, interpreter):
4949
self.import_computer_api = False # Defaults to false
5050
self._has_imported_computer_api = False # Because we only want to do this once
5151

52+
self.import_skills = False
53+
self._has_imported_skills = False
54+
5255
# Shortcut for computer.terminal.languages
5356
@property
5457
def languages(self):

0 commit comments

Comments
 (0)