01/software
James C. Palmer 216ecd6c9a Fix `UnboundLocalError` and make model configurable
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 `interpreter.llm.model` configurable via the `MODEL` environment variable or `--model` command line argument. Defaults to gpt-4. This allows users to run O1 locally.

Fixes #116
2024-03-22 16:05:19 -07:00
..
source Fix `UnboundLocalError` and make model configurable 2024-03-22 16:05:19 -07:00
.cursorignore Rename directories to software and source 2024-03-21 14:20:50 -07:00
README.md Rename directories to software and source 2024-03-21 14:20:50 -07:00
poetry.lock Rename directories to software and source 2024-03-21 14:20:50 -07:00
pyproject.toml Rename directories to software and source 2024-03-21 14:20:50 -07:00
pytest.ini Rename directories to software and source 2024-03-21 14:20:50 -07:00
start.py Rename directories to software and source 2024-03-21 14:20:50 -07:00

README.md

The open-source language model computer.

pip install 01OS
01 # Runs the 01 server and client