Commit Graph

15 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 94edb8e001 Add functionality to specify config file and app prefix 2024-03-23 16:37:37 -07:00
James C. Palmer c0ed82c465 Add app configuration management
- Integrate Pydantic and Pydantic Settings for config models and validation
- Add `config.yaml` for structured and readable configuration
- Centralize environment variable loading and configuration instance
2024-03-23 15:25:32 -07:00
James C. Palmer 2bf6dbc8c1 Merge branch 'issue-116' into config 2024-03-23 14:57:15 -07:00
James C. Palmer 309bec35e4 Add pydantic and pydantic-settings. 2024-03-23 14:51:27 -07:00
Ty Fiero 1190dcc442 Local mode fixes 2024-03-22 18:39:33 -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
rudrodip 4e6786ada6 Fix handling of empty audio content in listener function 2024-03-22 22:42:01 +06:00
killian e714647a00 System message changes 2024-03-21 19:00:20 -07:00
Ty Fiero 6f6133422c Fix error on ubuntu machines 2024-03-21 16:28:26 -07:00
Ty Fiero d8e575d386 Rename directories to software and source 2024-03-21 14:20:50 -07:00
killian 38a0039a8f Switched to poetry, pushed to `pip`, new scaffolding for multiple clients 2024-02-12 03:35:39 -08:00
killian aaf2ce8d5d Teams and tasks 2024-01-29 13:44:29 -08:00
killian 068fe57d90 Teams and tasks 2024-01-29 13:35:02 -08:00