Skip to content

Commit 3dc3086

Browse files
authored
Merge branch 'main' into fix/profile_disable_telemetry_not_working
2 parents 44c3ab9 + 924715c commit 3dc3086

28 files changed

+563
-3228
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

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)