Commit Graph

5 Commits

Author SHA1 Message Date
James C. Palmer 279aaa320b Remove unecessary `load_dotenv` calls. Closes #96. 2024-03-24 12:54:40 -07:00
James C. Palmer fe2a343c41 Add global `config`, support for `.env` and apply cli args to `config` at start. 2024-03-24 12:41:54 -07:00
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
killian e714647a00 System message changes 2024-03-21 19:00:20 -07:00
Ty Fiero d8e575d386 Rename directories to software and source 2024-03-21 14:20:50 -07:00