Commit Graph

28 Commits

Author SHA1 Message Date
Andy Melnikov
d12da33e55 Fix flake8 W293 and W391 2023-04-11 07:53:32 +02:00
cryptidv
026361aa3a Changed occurances of 'cfg.debug_mode' to 'cfg.debug' 2023-04-10 14:22:58 +01:00
Toran Bruce Richards
93c2582705 Merge branch 'master' into master 2023-04-10 13:29:53 +01:00
Andres Caicedo
26abb30674 Merge branch 'master' into dev 2023-04-09 15:42:53 +02:00
Andres Caicedo
011699e6a1 Code review changes 2023-04-09 15:39:11 +02:00
Toran Bruce Richards
fd0a4b3186 Merge branch 'master' into feature/time-and-date 2023-04-09 08:02:20 +01:00
Toran Bruce Richards
d8410d9ca3 Makes it clearer to the AI exactly what memories are. 2023-04-09 06:16:42 +01:00
Ryan Peach
47c6117e18 Added time and date to the system message for each context 2023-04-08 22:59:28 -04:00
kinance
c4c7350670 Revised the debug mode 2023-04-08 13:05:32 +09:00
kinance
91fe21e64d Revised to support debug mode from command line 2023-04-08 12:39:57 +09:00
douglas
475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04:00
Andres Caicedo
9699a1ca78 Update chat.py
Just import sleep from time library.
2023-04-04 11:03:09 +02:00
Andres Caicedo
500b2b4836 Update chat.py
Adds code separation between code blocks.
2023-04-04 11:02:01 +02:00
Andres Caicedo
238824553a Update chat.py
Standardize importation of libraries to top.
2023-04-04 10:58:38 +02:00
Andres Caicedo
8e2074f483 Merge branch 'master' into dev 2023-04-03 13:51:36 +02:00
Toran Bruce Richards
41daf07219 Vastly improves context window management.
Now uses tokens and biggest context possible.
2023-04-03 11:28:06 +01:00
Taylor Brown
30f8ed95e1 Remove unused imports 2023-04-02 21:52:50 -05:00
Taylor Brown
ae9448cb89 Consolidate calls to openai
Starting to abstract away the calls to openai
2023-04-02 21:51:07 -05:00
Taylor Brown
80ccd10d0b Use gpt-4 by default for the main thought process
Allow specifying the llm through dotenv
Move more things into config
2023-04-02 21:35:28 -05:00
Taylor Brown
28c18adff0 Merge master to fixes_gpt3 2023-04-02 18:30:28 -05:00
Taylor Brown
f808710528 Attempt to improve JSON handling in GPT-3 2023-04-02 14:48:35 -05:00
Andres Caicedo
eac5c1f6e6 Add documentation 2023-04-02 19:03:37 +02:00
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
Torantulino
b4685f67e6 Apply autopep8 formatting to entire codebase 2023-04-02 09:13:15 +01:00
Torantulino
ffeb1aca73 Implements handling of OpenAI rate limit error. 2023-04-01 01:30:13 +01:00
Torantulino
7f98e8adfe Deletes old output renderer and renames AutonomousAI folder to scripts 2023-03-31 22:49:17 +01:00