Commit Graph

56 Commits (98efd264560983ed1d383222e3d5d22ed87169be)

Author SHA1 Message Date
Drikus Roor d1ea6cf002 lint: Fix all E302 linting errors 2023-04-13 10:50:51 +02:00
Bernhard Mueller 3ff2323450 Rename command & functions to execute_shell 2023-04-13 11:04:26 +07:00
Bernhard Mueller 9e8d35277b
Update scripts/commands.py
Co-authored-by: Peter Stalman <sarkedev@gmail.com>
2023-04-12 23:32:17 +07:00
Bernhard Mueller 15dffed6e5 Merge branch 'master' of github.com:Torantulino/Auto-GPT into shellcommands 2023-04-12 23:15:31 +07:00
endolith cf8b06f11f Fix some typos 2023-04-12 00:11:24 -04:00
Bernhard Mueller aba7956f10
Merge branch 'master' into shellcommands 2023-04-11 09:25:53 +07:00
Bernhard Mueller 9598679180
Merge branch 'master' into shellcommands 2023-04-10 23:16:39 +07:00
yoshikouki 527e084f39 Remove unnecessary assignments 2023-04-10 22:57:41 +09:00
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
Andres Caicedo 4ca12e216d Merge branch 'master' into dev 2023-04-10 09:58:13 +02:00
Bernhard Mueller 09d2f47e08 Introduce EXECUTE_SHELL_COMMANDS config var, default to False 2023-04-10 11:01:48 +07:00
Bernhard Mueller 64da02bf4a Fix merge conflicts 2023-04-10 10:14:35 +07: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
onekum 93a92d92fc make `do_nothing` a valid command 2023-04-09 04:28:36 -04:00
Toran Bruce Richards a2fe619c7b Improves response to AI that sends wrong output. 2023-04-09 06:44:10 +01:00
Toran Bruce Richards b63238f40f
Merge branch 'master' into redis-backend 2023-04-09 02:43:14 +01:00
Toran Bruce Richards 8b36a5cfd3
Removes comment 2023-04-08 12:27:05 +01:00
Bernhard Mueller 66eb1dcfc5 Add exec_shell command 2023-04-08 12:39:03 +07: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
blankey1337 28cc9865e4
feat(ImageGen): add stable diffusion support 2023-04-07 08:02:48 -07: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 9067a523fe
Merge branch 'master' into pinecone-memory 2023-04-06 11:05:01 +01:00
Toran Bruce Richards 7080881d56
Merge pull request #220 from slavakurilyak/add-search-files-command
Add search_files command to the project
2023-04-06 09:18:58 +01:00
Toran Bruce Richards dcc29a5568
Fixes broken reference to speak.say_text 2023-04-06 08:29:28 +01:00
Toran Bruce Richards 962fc9a42a
Changes string_key_memory to permanent_memory.
Fixes:
```Command memory_ovr returned: Error: module 'memory' has no attribute 'string_key_memory'```
2023-04-06 08:07:54 +01:00
douglas 475671d1e8 Pinecone memory and memory usage tracking 2023-04-05 16:20:43 -04:00
slavakurilyak b418861d70 Update message_agent function to support string keys 2023-04-04 20:53:41 -05:00
slavakurilyak 1e47328079 Add search files command 2023-04-04 20:32:15 -05:00
slavakurilyak ed5952782f Improve key validation and handling in overwrite_memory and message_agent functions 2023-04-04 15:53:59 -05:00
Andres Caicedo 54cbf1cae1 Merge branch 'master' into dev 2023-04-04 12:21:26 +02:00
Toran Bruce Richards e1cf66b791
Merge branch 'master' into ddg-search 2023-04-04 22:05:17 +12:00
Andres Caicedo 239accbd82 Merge branch 'master' into dev 2023-04-04 11:47:37 +02:00
Andres Caicedo 632d87c195 Update commands.py
Just import datetime from datetime library.
2023-04-04 11:28:15 +02:00
Andres Caicedo e2892a92a1 Merge branch 'master' into dev 2023-04-04 10:37:42 +02:00
Preston Jensen 8a08b0c01b ask questions on websites 2023-04-03 19:20:42 -06:00
Toran Bruce Richards 7e529e19d9
Removes print. 2023-04-04 00:24:22 +01:00
russellocean f2ba7f21c5 Added support for Google Custom Search API
This pull request adds functionality to the project to allow for a choice between the original Google search method and the Google Custom Search API. The google_search method uses the original method of scraping the HTML from the search results page, using googlesearch-python, while the google_official_search method uses the Google Custom Search API to retrieve search results.

How to test:

To test the functionality, ensure that you have valid API keys and search engine IDs for both the Google search method and the Google Custom Search API. You can set these values in your environment variables as described in the README.md file.

Additional Notes:

This pull request only adds functionality and makes improvements to existing code. No new features or major changes have been introduced.
2023-04-03 16:44:10 -04:00
Rafael Moraes 6306a033cc Fixed googlesearch dependency issue
Swapped the googlesearch package for the duckduckgo-search. It uses the ddg instant answer API and works very similarly to the googlesearch one.
2023-04-03 15:11:15 -04:00
Andres Caicedo 8e2074f483 Merge branch 'master' into dev 2023-04-03 13:51:36 +02:00
Toran Bruce Richards 2bdd6b7b83 Adds missing google search import. 2023-04-03 11:33:35 +01:00
Toran Bruce Richards ba6df3674b Fixes overwrite memory command. 2023-04-03 11:33:18 +01:00
Toran Bruce Richards 6a0a1355f0 Fixes google search command. 2023-04-03 11:33:01 +01:00
Toran Bruce Richards b1cc474b92 removes unused commands. 2023-04-03 11:32:40 +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 744c5fa25b Remove hardcoding of gpt-3.5-turbo in favor of config 2023-04-02 21:38:21 -05:00
Taylor Brown 3e587bc7fb Make the json_parser more robust
For some reason the bot keeps prefacing its JSON. This fixes it for now.
2023-04-02 18:50:51 -05:00
Andres Caicedo eac5c1f6e6 Add documentation 2023-04-02 19:03:37 +02:00