01/software/source
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
..
clients Rename directories to software and source 2024-03-21 14:20:50 -07:00
server Fix `UnboundLocalError` and make model configurable 2024-03-22 16:05:19 -07:00
utils Rename directories to software and source 2024-03-21 14:20:50 -07:00
__init__.py Rename directories to software and source 2024-03-21 14:20:50 -07:00