Commit Graph

53 Commits

Author SHA1 Message Date
Andy Melnikov
4a86da95f9 Remove trailing spaces throughout
This happens often in PRs so fixing this everywhere will make many PRs
mergeable as they won't include irrelevant whitespace fixes
2023-04-10 14:25:24 +02:00
Toran Bruce Richards
ecd448ca0f Merge pull request #115 from AndresCdo/open_ai_api_key
Introduce check to OPENAI_API_KEY
2023-04-10 13:12:26 +01:00
Andres Caicedo
c4ab35275a Remove whitespaces 2023-04-09 16:34:36 +02:00
Andres Caicedo
9105a9c7f8 Remove whitespaces 2023-04-09 16:31:04 +02:00
Andres Caicedo
d05146c6c5 Delete unrelated changes with PR 2023-04-09 15:48:17 +02: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
Alexander Nikulin
546d8783e7 put debug setting to cfg and use it in when calling chat.chat_with_at and fix_json 2023-04-09 14:33:30 +04:00
Toran Bruce Richards
831cc70457 Merge pull request #491 from awmorgan/fix_command_error_check_1
fix command error check
2023-04-09 08:12:38 +01:00
BillSchumacher
2db7f0815e Update main.py
Remove pinecone config requirement
2023-04-08 22:25:59 -05:00
Bill Morgan
7cba76228e fix command error check 2023-04-08 08:24:24 -05:00
BillSchumacher
d7ccaf45a9 Merge branch 'master' of github.com:Torantulino/Auto-GPT into redis-backend 2023-04-07 20:39:35 -05:00
keenborder786
b983faa953 [fix]: Added an exception in main.py if pinecone_api_key is not provided 2023-04-08 04:36:10 +05:00
BillSchumacher
503b58b794 Refactor memory into factory. 2023-04-07 18:30:04 -05:00
BillSchumacher
cb14c8d999 Implement local memory. 2023-04-07 18:13:18 -05:00
BillSchumacher
5a1d9e6d0a Implement redis memory backend. 2023-04-07 00:08:25 -05:00
BillSchumacher
6819799ebe Create an abstract MemoryProviderSingleton class. Pass config instead of instantiating a new one where used. 2023-04-06 22:25:17 -05:00
Toran Bruce Richards
672bb5e620 Merge pull request #233 from russellocean/master
Implement custom continuous task count with 'y -n' command
2023-04-06 12:27:41 +01:00
douglas
475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04:00
russellocean
c8a927d3ec Syntax Error, Revert formatting errors, remove 308 2023-04-05 10:28:50 -04:00
russellocean
c8c8f5b11e Apply suggestions from code review
Thanks to @Gerqus

Co-authored-by: Paweł Pieniacki <ppieniacki@gmail.com>
2023-04-05 10:19:56 -04:00
russellocean
c1be8a7403 Implement custom continuous task count with 'y -n' 2023-04-05 00:56:15 -04:00
Andres Caicedo
6773e28b61 Merge branch 'master' into dev 2023-04-04 11:39:31 +02:00
Toran Bruce Richards
364b7724a9 Merge pull request #133 from prestoj/human-feedback-in-manual-mode
human feedback in manual mode
2023-04-04 20:53:54 +12:00
Andres Caicedo
b6344b98e2 Update main.py
Add separation between code blocks.
2023-04-04 10:46:02 +02:00
Andres Caicedo
e2892a92a1 Merge branch 'master' into dev 2023-04-04 10:37:42 +02:00
yousefissa
570c161e5e add final exception handling back 2023-04-03 22:21:42 -07:00
yousefissa
82da7f1681 fix assistant thoughts failure on string type 2023-04-03 22:19:32 -07:00
Preston Jensen
2af9cf853a human feedback in manual mode 2023-04-03 20:12:11 -06:00
Andres Caicedo
301ff85fd5 Update main.py
Introduce check to OPENAI_API_KEY
2023-04-04 00:15:17 +02:00
yousefissa
8753eba22c comments 2023-04-03 14:55:30 -07:00
yousefissa
04c43432c2 cleanup method 2023-04-03 14:53:19 -07:00
yousefissa
8a5c9800e7 fix assistant plan variables being referenced before assignment 2023-04-03 13:00:50 -07:00
Andres Caicedo
a573224089 Merge branch 'master' into dev 2023-04-03 16:58:31 +02:00
Toran Bruce Richards
51e293f64c Adds --gpt3only mode! 2023-04-03 15:46:46 +01:00
Andres Caicedo
ee753ed34c Merge branch 'master' into dev 2023-04-03 16:40:25 +02:00
0xcha05
c8149b0415 better arg parsing 2023-04-03 19:56:01 +05:30
Andres Caicedo
765210f0cd Add extra documentation 2023-04-03 14:10:02 +02:00
Andres Caicedo
8e2074f483 Merge branch 'master' into dev 2023-04-03 13:51:36 +02:00
Toran Bruce Richards
109b9288a7 Removes logging and uses new config token limit. 2023-04-03 11:37:18 +01:00
Toran Bruce Richards
e50e826857 Tweaks welcome back prompt. 2023-04-03 11:35:08 +01:00
Toran Bruce Richards
099a5e1090 Handles incorrect AI formatting in a more forgiving way. 2023-04-03 11:30:06 +01:00
Taylor Brown
7fd2ce2bc6 Clean up where last_run_settings go 2023-04-02 22:12:14 -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
9ff7e5954b Make compatible with gpt-3.5
I made the json parsing more forgivable. I improved the prompt, using things I learned from: Koobah/Auto-GPT
2023-04-02 16:39:17 -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
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