Commit Graph

324 Commits (85428df9fc1dd72bf5a959c92e37803fa9fcc8bc)

Author SHA1 Message Date
James C. Palmer 5e746afef8 Use `load_dotenv()` in `chat.py` and `speak.py`. 2023-04-02 09:32:25 -04:00
Toran Bruce Richards 99a33023c4 Fixes incorrect handling of openai RateLimitExceeded errors. 2023-04-02 13:46:31 +01:00
James C. Palmer ef656a0f77 Remove `keys.py` and replace with `python-dotenv`.
- Removed `keys.py`.
- Added `.env.template`.
- Added `.env` to `.gitignore`.
- Updated various files that imported `keys` to use `os.getenv` instead.
- Updated `requirements.txt` dependencies.
- Updated README.md with instructions on setting up environment variables.

This change improves security, flexibility, and makes it easier to use Auto-GPT in notebooks. Environment variables are stored in `.env` and loaded via `load_dotenv()` in `scripts/main.py`.
2023-04-02 06:39:55 -04:00
Toran Bruce Richards d6f2aceb63 .. 2023-04-02 11:00:50 +01:00
Toran Bruce Richards bf7a52ec8c ... 2023-04-02 10:56:23 +01:00
James C. Palmer cffe083ff2 Move requirements.txt to root directory. 2023-04-02 05:44:45 -04:00
Toran Bruce Richards dfd324a079 Updates auto format workflow to work with forks.
(in the correct branch now)
2023-04-02 10:31:06 +01:00
Toran Bruce Richards 73ef9350b7
Merge pull request #20 from Torantulino/autoformat-testing
Autoformat testing
2023-04-02 21:00:36 +12:00
Torantulino 01b3ef2f66 Automated changes 2023-04-02 08:58:19 +00:00
Torantulino abdc7f447c Adds comment to call_ai_function. 2023-04-02 09:56:53 +01:00
Torantulino 0a290927a0 Reformats with "Black" formatter. 2023-04-02 09:55:44 +01:00
Torantulino f930f925a8 Updates auto_format to work on forks. 2023-04-02 09:50:08 +01:00
Torantulino b4685f67e6 Apply autopep8 formatting to entire codebase 2023-04-02 09:13:15 +01:00
Torantulino a2e5de7469 Removes "check_news" command.
This command is made redundant by the browse_website command.
2023-04-02 09:12:08 +01:00
Torantulino 9b375315a0 Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT 2023-04-02 09:10:44 +01:00
Torantulino f31953f7cd Adds auto formatting for pull requests.
This is a great way to ensure that your code is formatted correctly before it is merged into the main branch and limit the number of formatting changes in pull requests.
2023-04-02 09:07:32 +01:00
Toran Bruce Richards cd1550e3a3
Update README.md 2023-04-02 08:42:46 +01:00
Torantulino 0a22cd615c Ignores audio files. 2023-04-02 07:45:34 +01:00
Torantulino 40921f88f1 Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT 2023-04-02 07:40:44 +01:00
Torantulino 850847b9ec Fixes print_to_console sometiems speaking text when speaking is disabled. 2023-04-02 07:40:32 +01:00
Toran Bruce Richards b46b379239
Merge pull request #17 from egokick/master
Add missing docker requirement
2023-04-02 13:42:41 +12:00
egokick be851e391b
Add missing docker requirement 2023-04-01 15:59:33 -07:00
Toran Bruce Richards 2c6338fd3b
Update README.md 2023-04-01 16:21:57 +01:00
Torantulino de975d3bf9 Implements code execution command!
This allows the AI to execute code inside it's workspace folder.
2023-04-01 16:01:36 +01:00
Torantulino 29d8fa5d38 First imeplementation of execute_code.
This is too limited by it's sandboxing by RestrictedPython.
2023-04-01 14:37:50 +01:00
Torantulino 67023b9c26 Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT 2023-04-01 14:25:09 +01:00
Torantulino acaa6e394a Fixes bug: Agent 0 does not exist 2023-04-01 14:24:59 +01:00
Toran Bruce Richards 29dd993a69
Update README.md 2023-04-01 11:43:57 +01:00
Torantulino 70a386b6ee Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT 2023-04-01 10:35:36 +01:00
Torantulino 3edae91524 Implements Code Improvement, powered by AI Functions. 2023-04-01 10:35:32 +01:00
Torantulino 15ebbd5ee5 Ignores all AI generated files. 2023-04-01 10:34:54 +01:00
Torantulino 8767018c1e Adds AI functions.
These are no-code functions written by AI.
2023-04-01 10:34:32 +01:00
Toran Bruce Richards 5fd740aeb9
Update README.md 2023-04-01 05:58:45 +01:00
Toran Bruce Richards c56eb3e22d
Update README.md 2023-04-01 05:58:24 +01:00
Torantulino a608d8dbdc Adds full file I/O 2023-04-01 04:08:30 +01:00
Torantulino 2553dc1538 Adds article written by Auto-GPT when prompted to Hustle. 2023-04-01 03:50:22 +01:00
Toran Bruce Richards 73e845e285
Update prompt.txt 2023-04-01 03:28:17 +01:00
Torantulino 5c979da5d0 Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT 2023-04-01 01:30:16 +01:00
Torantulino ffeb1aca73 Implements handling of OpenAI rate limit error. 2023-04-01 01:30:13 +01:00
Toran Bruce Richards 39b51697f1
Update README.md 2023-03-31 23:24:59 +01:00
Toran Bruce Richards 96015aca7b
Update README.md 2023-03-31 23:22:47 +01:00
Toran Bruce Richards 959a82c868
Update README.md 2023-03-31 23:22:33 +01:00
Toran Bruce Richards c1b30c959b
Update README.md 2023-03-31 23:20:33 +01:00
Toran Bruce Richards b68d081e47
Update README.md 2023-03-31 23:18:12 +01:00
Torantulino 4100961745 Merge branch 'master' of https://github.com/Torantulino/Entrepreneur-GPT 2023-03-31 23:15:06 +01:00
Torantulino c9900ee419 Updates gitirgnore/ 2023-03-31 23:11:31 +01:00
Toran Bruce Richards 219edea1eb
Delete AutonomousAI directory 2023-03-31 23:10:02 +01:00
Toran Bruce Richards d71ba8ff65
Update keys.py
Accidentally leaked keys, old keys disabled ;)
2023-03-31 22:54:47 +01:00
Torantulino 7f98e8adfe Deletes old output renderer and renames AutonomousAI folder to scripts 2023-03-31 22:49:17 +01:00
Torantulino fa5cc20f4a Implements sub agent speach. 2023-03-31 04:15:14 +01:00