James C. Palmer
James C. Palmer
This PR introduces a configuration management system for 01 aimed at simplifying the configuration process. ## Overview of Changes ### `Config` Class - Implemented a `Config` class within `software/core/config.py` to...
This commit addresses two issues in `software/source/server/i.py`: 1. Fix the `UnboundLocalError` caused by importing the `os` module at both the top level and within the `configure_interpreter` function. 2. Make the...
There are two issues within [software/source/server/i.py](https://github.com/OpenInterpreter/01/blob/6d0e885c554e7a30eb7e8cc6cfbe2c79e48e8234/software/source/server/i.py): ### 1. UnboundLocalError The `os` module is imported at the top level and within the `configure_interpreter` function, which results in an `UnboundLocalError` error. You...
Call `load_dotenv()` once from `01OS/01OS/__init__.py` rather than multiple files.
### Describe the changes you have made: In `point.py`, check for GPU or MPS before defaulting to CPU. ### Reference any relevant issues (e.g. "Fixes #000"): - Fixes https://github.com/OpenInterpreter/open-interpreter/issues/1131 ###...
### Is your feature request related to a problem? Please describe. The `point.py` module explicitly sets `torch.device('cpu')` without checking for the availability of a GPU or MPS. ### Describe the...
This PR adds a more robust configuration system with a standard naming convention. The main changes are: - Added `python-dotenv` in the main `__init__.py` to load environment variables. - Created...