Commit Graph

26 Commits

Author SHA1 Message Date
James C. Palmer b7262f3ec8 Added test cases and config templates, adjusted config overrides and documentation. 2024-03-24 21:00:32 -07:00
James C. Palmer 685b14ae31 Merge branch 'main' of https://github.com/OpenInterpreter/01 into config 2024-03-24 13:47:44 -07:00
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
killian 31ac7f9cc7
Merge pull request #128 from koganei/patch-1
Fix for Issue #104 - Add OPENAI_VOICE_NAME env variable
2024-03-23 22:16:29 -07:00
Ty Fiero b818fa2add
Merge pull request #129 from eltociear/patch-1
Fix typo in i.py
2024-03-23 18:28:51 -07:00
Ty Fiero 774fa89a5f
Merge pull request #124 from JoshTrim/import-fix
Removed duplicate imports
2024-03-23 18:21:34 -07:00
Ty Fiero c686857b08
Merge pull request #99 from OpenInterpreter/info-log-cleanup
Update info logs
2024-03-23 17:34:57 -07:00
Ty Fiero bd73628a50
Merge pull request #108 from Maclean-D/main
Update system message
2024-03-23 17:31:13 -07:00
Ty Fiero 0556a7c1d1
Merge pull request #118 from SickanK/main
fix llamafile fails loading if the llamafile_path has a space within it
2024-03-23 17:06:59 -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
Ty Fiero 84224fd21a Update local mode system message. And modify tests 2024-03-23 10:33:38 -07:00
Ikko Eltociear Ashimine 97c9769510
Fix typo in i.py
programatically -> programmatically
2024-03-24 00:34:31 +09:00
Marc Khoury 6bfec56bb9
Add OPENAI_VOICE_NAME env variable
I kept the default to `alloy`
2024-03-23 08:17:50 -04:00
Josh Trim eb64a27e80 Removed duplicate imports
- traceback import twice in server.py
- tempfile imported twice in tts.py
2024-03-22 22:11:01 -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
SickanK 13a2a662ba fix llamafile fails loading if the llamafile_path has a space within it 2024-03-22 23:46:02 +01:00
rudrodip 4e6786ada6 Fix handling of empty audio content in listener function 2024-03-22 22:42:01 +06:00
Maclean Dunkin 3d998e486b Update i.py 2024-03-22 00:08:11 -07:00
killian e714647a00 System message changes 2024-03-21 19:00:20 -07:00
Mike Bird bfb05904f1 only show connection info log once per function call 2024-03-21 20:23:18 -04: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