Commit Graph

543 Commits (89e0e8992795accfc41183723064dcdab9719f8e)

Author SHA1 Message Date
Maiko Bossuyt 137751f95c
Merge branch 'Torantulino:master' into add_ingest_documents_script 2023-04-12 19:36:40 +02:00
Richard Beales 0e004f5c14
Merge pull request #697 from Wladastic/fix-user-feedback-json-error
fix json parser
2023-04-12 18:22:47 +01:00
Richard Beales 364e2a4ba1
Merge branch 'master' into add-unit-tests-workflow 2023-04-12 18:14:37 +01:00
Maiko Bossuyt d7609b3095 Merge branch 'add_ingest_documents_script' of https://github.com/maiko/Auto-GPT into add_ingest_documents_script 2023-04-12 19:13:26 +02:00
Maiko Bossuyt 0dddc94bda Add file ingestion methode in file_operations.py
Add the following functions to ingest data into memory before Auto-GPT run.

- split_file: given a content, split it in chunks of max_length with (or without) a specified overlap

- ingest_file: read a file, use split_file to split it in chunks and load each chunk in memory

- ingest_directory: ingest all files in a directory in memory
2023-04-12 19:13:04 +02:00
Richard Beales 9c9758c720
Merge pull request #700 from Rokniel/azure-deployment-additions
Add required env parameters for azure usage
2023-04-12 18:08:54 +01:00
Richard Beales c98471e333
Merge pull request #685 from STRML/fix/json-parsing
Fix various JSON input bugs
2023-04-12 18:03:34 +01:00
Bernhard Mueller 940772b502 Merge branch 'shellcommands' of github.com:muellerberndt/Auto-GPT into shellcommands 2023-04-12 23:47:16 +07:00
Bernhard Mueller affe77e18c Call subprocess.run with shell=True 2023-04-12 23:46:55 +07:00
Richard Beales a7176cd229
Merge pull request #215 from slavakurilyak/security-and-robustness-improvements
Improve Security and Robustness in browse.py
2023-04-12 17:37:44 +01: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 cc9723c26e Make chdir code more robust 2023-04-12 23:30:35 +07:00
Bernhard Mueller 15dffed6e5 Merge branch 'master' of github.com:Torantulino/Auto-GPT into shellcommands 2023-04-12 23:15:31 +07:00
Maiko Bossuyt 8baa0769b1 Update config.py 2023-04-12 18:03:59 +02:00
Maiko Bossuyt a615e57061 Revert "Update main.py"
This reverts commit c785352ed2.
2023-04-12 18:00:17 +02:00
profound c5f0cb3d3f fix read config file encoding that broke Chinese 2023-04-12 23:38:30 +08:00
roby.parapat 730fbf591f pull image if it's not found locally 2023-04-12 22:15:22 +07:00
Maiko Bossuyt 5bb551db95 add the url variable in the get_text_summary function to pass it to the memory
By sending the url along when calling browse.summarize_text, we can then add it along the chunk in memory.
2023-04-12 16:42:14 +02:00
Maiko Bossuyt b20c0117c5 Add memory management to browse.py
- Change the way User-Agent is handle when calling requests to browse website

- Add chunk to memory before and after summary. We do not save the "summary of summaries" as this wasn't performing great and caused noise when the "question" couldn't be answered.

- Use the newly added config parameters for max_length and max_token
2023-04-12 16:38:49 +02:00
Maiko Bossuyt c986e87135 Edit config Class to manage browse_website command chunk size and summary size
I added two new config parameters:

- browse_chunk_max_length: define the max_length of a chunk being sent to the memory and to FAST_LLM_MODEL for summarizing

- browse_summary_max_token: define the max_token passed to the model use for summary creation. Changing this can help with complex subject, allowing the agent to be more verbose in its attemps to summarize the chunk and the chunks summary.

I've also edited the way the user_agent is handle.
2023-04-12 16:36:27 +02:00
Samuel Reed 434f27fb51 Fix various JSON input bugs in correction
By not having correct_json(json_str) in the try/except,
it was still easily possible to throw Invalid JSON errors.

When responses were received with no JSON at all, parsing
would fail on attempting to locate the braces.
2023-04-12 10:34:33 -04:00
Alrik Olson 2ef9928a2e Merge remote-tracking branch 'origin/master' into prompt-generator 2023-04-12 07:33:36 -07:00
Maiko Bossuyt c785352ed2 Update main.py
clean trailing whitespace
2023-04-12 16:23:09 +02:00
Eesa Hamza ec6918ab48 Added some comments 2023-04-12 16:59:50 +03:00
Eesa Hamza 083ccb6bd3 Added a memory backend argument 2023-04-12 16:58:39 +03:00
Wlad 0105dd340a Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-12 15:01:24 +02:00
Peter Edwards 6fa9501251
Merge branch 'Torantulino:master' into more_azure 2023-04-12 13:28:23 +02:00
Gull Man c932087997 add encoding to open file 2023-04-12 12:13:18 +02:00
sarango 16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12:00
Peter Edwards 650e2dcd6d cleaned up .env to move Azure config to separate azure.yaml file
updated README.md to explain new config
added Azure yaml loader to config class
centralized model retrieval into config class
this commit effectively combines and replaces #700 and #580
2023-04-12 11:27:37 +02:00
Itamar Friedman 1a7159095a Merge remote-tracking branch 'upstream/master' into browse_scrape_links_test_and_validate 2023-04-12 12:18:16 +03:00
Richard Beales 3ea57ca326
Merge pull request #888 from chozzz/bugfix
Bugfix for #803 - Debug mode
2023-04-12 10:06:04 +01:00
Wlad c6605b06c5 Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-12 10:58:09 +02:00
Wlad 4063483b87 add my fixes 2023-04-12 10:56:54 +02:00
Richard Beales 4dbf72159d
Merge pull request #542 from ccheney/attr-error-lower
command_name null check before calling .lower()
2023-04-12 09:54:05 +01:00
Itamar Friedman e8b7a117da Merge remote-tracking branch 'origin/master' into browse_scrape_links_test_and_validate 2023-04-12 11:51:43 +03:00
Itamar Friedman 98778cea73 Merge remote-tracking branch 'upstream/master' 2023-04-12 11:48:55 +03:00
Richard Beales a0cebb02db
Merge pull request #733 from keenborder786/gpt_4_only_option
GPT-4 Only Option
2023-04-12 09:36:45 +01:00
Richard Beales 56ed3eed9b
Merge pull request #871 from Legionof7/typofix
Changed spelling from "GTP" to "GPT". Also removed the 3 as this can run on GPT4.
2023-04-12 09:25:43 +01:00
Drikus Roor f34751a0c3 revert: Revert relative imports in scripts and fix imports in tests 2023-04-12 10:16:00 +02:00
Drikus Roor d0ae72e63b refactor: Refactor imports to be compatible with unit tests 2023-04-12 10:16:00 +02:00
Richard Beales c765b345b4
Merge pull request #904 from endolith/typos
Fix some typos
2023-04-12 08:50:06 +01:00
Toran Bruce Richards 429317e6b2
Merge pull request #910 from dillweed/Elevenlabs-Voice-ID-ENV
Elevenlabs voice ID
2023-04-12 19:26:12 +12:00
Toran Bruce Richards 4c6f18bc59
Merge pull request #878 from Androbin/patch-1
Fix Spinner
2023-04-12 19:22:31 +12:00
Peter Edwards 17b037faf7
Merge branch 'Torantulino:master' into more_azure 2023-04-12 09:18:17 +02:00
Toran Bruce Richards e4bb730826
Merge pull request #759 from BillSchumacher/fix-too-specific-except
Fix case where index throws value error.
2023-04-12 18:51:57 +12:00
vadi 7736762b5a Fix #840 - Add defensive coding for local memory to load the JSON file that was gitignored at 54101c7997
- Added unit test placholder for local cache test
- Removed unused imports from local cache unit test placeholder
2023-04-12 16:38:53 +10:00
vadi bc6f34d7dc Fixes #803
- Brings back debug mode
- Replaces all calls from cfg.debug to cfg.debug_mode that was updated on 5b2d6010dc
- Remove unnecessary config instance at main.py
2023-04-12 16:32:16 +10:00
Dill f8438aabc2 Added option for custom elevenlabs voice IDs. 2023-04-11 21:37:03 -07:00
endolith cf8b06f11f Fix some typos 2023-04-12 00:11:24 -04:00
Chris Cheney 3ffff9f112 Merge branch 'master' of github.com:Torantulino/Auto-GPT into attr-error-lower 2023-04-11 22:51:53 -05:00
Robin Richtsfeld afc7fa6e26
Fix JSON formatting in prompt.txt 2023-04-12 03:09:08 +02:00
Robin Richtsfeld 8d7e0153f0
Fix Spinner 2023-04-12 02:26:30 +02:00
JZ 9725c727da
Changed spelling from "GTP" to "GPT". Also removed the 3 as this can run on GPT4. 2023-04-11 16:22:26 -07:00
Denis Mozhayskiy 990297b463 Easy run bat files with requirements check 2023-04-12 02:18:07 +03:00
Wlad edf364efe8 Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-11 23:32:31 +02:00
meta-fx 570f76bd51 Removed trailing spaces and fixed CRLF being removed 2023-04-11 14:44:22 -05:00
Alrik Olson 7a0c9e8a9d fix attempts to import a non-existent module 2023-04-11 10:30:53 -07:00
Alrik Olson 72d4783a1d formatting 2023-04-11 09:21:20 -07:00
Alrik Olson b73bca6b2d Merge remote-tracking branch 'origin/master' into prompt-generator 2023-04-11 09:17:36 -07:00
Alrik Olson fd1cfd2eff Add docs and format code 2023-04-11 09:15:45 -07:00
Alrik Olson b19eb74874 Refactor the seed prompt to be generated programmatically
This removes the tedium of having to re-number every numbered item in the prompt.txt if you want to add/remove commands.
2023-04-11 09:09:59 -07:00
Slava Kurilyak (slavakurilyak.eth) e9e4f11b4a
Merge branch 'master' into security-and-robustness-improvements 2023-04-11 09:32:51 -06:00
kinance e0cb648858 Make the cfg.debug to cfg.debug_mode consistent across files 2023-04-11 23:01:49 +09:00
PierreBastiani dbb78b636f check for authorise 'y' without trailing space 2023-04-11 14:57:29 +01:00
meta-fx efd6a7ecf5
Merge branch 'master' into added-new-voice 2023-04-11 08:39:15 -05:00
meta-fx 3cdde2d49c Resolved conflicts in config.py and speak.py 2023-04-11 08:15:58 -05:00
Toran Bruce Richards d7b747600d
Merge pull request #782 from onekum/patch-1
Change "an" to "a"
2023-04-11 12:55:27 +01:00
Peter Edwards 23f46adc61
Merge branch 'Torantulino:master' into more_azure 2023-04-11 13:54:07 +02:00
Itamar Friedman 1210ba41d0 Merge remote-tracking branch 'upstream/master' 2023-04-11 14:47:28 +03:00
Peter Edwards 9d33a75083 Changes for Azure embedding handling 2023-04-11 13:45:37 +02:00
coditamar f6c8a0f289
Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-11 14:43:57 +03:00
Toran Bruce Richards 186a8c615e
Merge pull request #678 from kinance/kinance-resolve-debug-config-conflict
Resolve the conflict around debug mode flag after pull merge
2023-04-11 12:34:01 +01:00
Toran Bruce Richards ff7c000c83
Merge pull request #786 from kinance/kiannce-remove-duplicate-debug-mode
Remove duplicates of set debug mode func
2023-04-11 12:31:44 +01:00
kinance b06974904c Remove duplicates of set debug mode func 2023-04-11 19:26:23 +09:00
Rokniel 63d3238c6c
Merge branch 'master' into azure-deployment-additions 2023-04-11 12:21:46 +03:00
onekum b90f355e7d
Change "an" to "a"
Grammar error: In English, only words starting with (a, e, i, o, u) get "an".
2023-04-11 05:01:02 -04:00
Itamar Friedman 64c21ee8f7 browse: make scrape_links() & scrape_text() "status_code >= 400" error message the same 2023-04-11 11:40:52 +03:00
Itamar Friedman 2d5d0131bb browse: (1) apply validation also to scrape_links(), (2) add tests for scrape_links() 2023-04-11 11:17:07 +03:00
Andy Melnikov d12da33e55 Fix flake8 W293 and W391 2023-04-11 07:53:32 +02:00
Toran Bruce Richards 5a6e565c52
Merge pull request #706 from Sma-Das/remove_imports
[Cleanup] Removed unneeded imports
2023-04-11 06:17:44 +01:00
BillSchumacher 66d316a19c
Fix case where index throws value error. 2023-04-10 21:55:35 -05:00
Toran Bruce Richards 3ed3f16d14
Merge pull request #242 from bituq/master
Fixed speech blocking main thread
2023-04-11 03:31:04 +01:00
Bernhard Mueller aba7956f10
Merge branch 'master' into shellcommands 2023-04-11 09:25:53 +07:00
meta-fx 3ee62211db Fixed formatting issues 2023-04-10 20:56:27 -05:00
Toran Bruce Richards 95f9380f13
Merge pull request #747 from BillSchumacher/fix-json-error
Update json_utils.py
2023-04-11 02:06:15 +01:00
meta-fx 0cf790b633 Added new env variable and speech function for alternative TTS voice 2023-04-10 20:00:43 -05:00
BillSchumacher efcc6a3f76
Update json_utils.py
This was used differently in a local branch and an error.
2023-04-10 19:50:40 -05:00
Wlad 365ef9b50b cleanup 2023-04-11 01:57:49 +02:00
BillSchumacher 1b128a1ef0
Use UTF-8 encoding for Windows users. 2023-04-10 18:50:54 -05:00
kinance 3695c1e0e6
Merge branch 'Torantulino:master' into kinance-resolve-debug-config-conflict 2023-04-11 08:49:43 +09:00
Wlad a86948fa23 include broken json in error log 2023-04-11 01:31:18 +02:00
Wlad 87a2cf029d try another fix 2023-04-11 01:30:07 +02:00
Wlad e80091c482 Merge remote-tracking branch 'upstream/master' into fix-user-feedback-json-error 2023-04-11 01:27:27 +02:00
Wlad 82379bb416 fix dump 2023-04-11 01:02:45 +02:00
Dylan N 6ab197a9c5
Merge branch 'master' into master 2023-04-11 00:52:28 +02:00
Bituq 353785d23d Fix macos_tts_speech merge conflict 2023-04-11 00:50:57 +02:00
Toran Bruce Richards ed581461df
Merge pull request #712 from nponeccop/pr-whitespace2
Remove trailing whitespace throughout
2023-04-10 23:02:31 +01:00
Toran Bruce Richards 78d2d57b8d
Merge pull request #702 from yoshikouki/clean-up-command
Remove unnecessary assignments
2023-04-10 23:00:15 +01:00
Toran Bruce Richards 7c5e3b03c5
Merge pull request #690 from onekum/patch-2
Restrict browse from accessing local files
2023-04-10 22:57:02 +01:00
Toran Bruce Richards cdcec2f619
Merge pull request #648 from pratiksinghchauhan/fix-#323-error-communicating-to-openai
Fix #323 Error communicating with OpenAI: Invalid URL 'your-base-url-for-azure/embeddings'
2023-04-10 22:46:46 +01:00
Toran Bruce Richards 3aade672b6
Merge pull request #637 from Wladastic/use-macos-tts-instead-of-gtts
add config to use mac os tts instead of elevenlabs or gtts
2023-04-10 22:42:55 +01:00
Toran Bruce Richards 0eab8d1087
Merge pull request #633 from Sma-Das/clean_input
[Utility] Created clean_input to cleanly exit KeyboardInterrupts
2023-04-10 22:39:45 +01:00
Wladastic 4ad1fc14a4 use regex instead of re 2023-04-10 22:59:16 +02:00
keenborder786 334a1d2632
[feat]: Added a argument which allows gpt4 only mode and configure the fast_llm_model accordingly 2023-04-11 01:23:59 +05:00
Wlad ca4afca5da add log when json was fixed. 2023-04-10 21:48:00 +02:00
Wladastic 33d1fd3d6d attempt fix 2023-04-10 21:30:21 +02:00
Richard Beales f69e46208e remove trailing newline 2023-04-10 19:50:56 +01:00
Richard Beales c6bdb0f0ba remove trailing newline 2023-04-10 19:50:13 +01:00
Richard Beales f727f5d9ea Merge https://github.com/richbeales/Auto-GPT 2023-04-10 19:36:04 +01:00
Richard Beales 081415ab6c fix merge conflict 2023-04-10 19:32:52 +01:00
Wladastic 1f9d66b745 Merge branch 'master' into fix-user-feedback-json-error 2023-04-10 19:45:39 +02:00
Wlad bb36634b46 fix line 328 error 2023-04-10 19:40:55 +02:00
Andy Melnikov c9701a3302 Remove trailing whitespace throughout 2023-04-10 18:17:11 +02:00
Bernhard Mueller 9598679180
Merge branch 'master' into shellcommands 2023-04-10 23:16:39 +07:00
onekum b60c7518b0
Rework local file address blocks
add `def check_local_file_access`, which defines and checks for local file address prefixes; use it to restrict access
2023-04-10 12:10:28 -04:00
Slava Kurilyak (slavakurilyak.eth) 16c3cc9e23
Merge branch 'master' into security-and-robustness-improvements 2023-04-10 09:50:51 -06:00
Sma Das 5c1c3f9c7e
Added exit message on `KeyboardInterrupt` 2023-04-10 11:31:43 -04:00
Sma Das cd07115a39
Removed trailing whitespace 2023-04-10 11:29:15 -04:00
Sma Das 8cf58d00cf Removed unneeded imports 2023-04-10 10:57:47 -04:00
Sma Das cf1856aa25
Merge branch 'master' into clean_input 2023-04-10 10:50:05 -04:00
Dylan N 88a802a675
Remove voice_settings parameters
I removed the voice_settings parameters as it was an irrelevant change.
2023-04-10 16:44:01 +02:00
kinance 389cc82a5a
Merge branch 'Torantulino:master' into kinance-resolve-debug-config-conflict 2023-04-10 23:08:25 +09:00
yoshikouki 527e084f39 Remove unnecessary assignments 2023-04-10 22:57:41 +09:00
Kari Ahdan a504f0bdd3 Add required env parameters for azure usage 2023-04-10 16:43:06 +03:00
Toran Bruce Richards 4d42e14d3d
Merge pull request #695 from cryptidv/master
Changed occurances of 'cfg.debug_mode'  to 'cfg.debug'
2023-04-10 14:35:51 +01:00
Wlad 66b36e9879 fix json parser - messy 2023-04-10 15:35:10 +02:00
Toran Bruce Richards c300276d6d Change debug_mode to debug in chat.py. 2023-04-10 14:32:13 +01:00
Toran Bruce Richards 37b4473137 Fixes extra arg given in chat-with-ai call in main 2023-04-10 14:23:20 +01:00
cryptidv 026361aa3a Changed occurances of 'cfg.debug_mode' to 'cfg.debug' 2023-04-10 14:22:58 +01:00
onekum fa8461be9d
Restrict browse from accessing local files 2023-04-10 09:21:43 -04:00
Pratik Singh Chauhan 72f609fd26
Merge branch 'master' into fix-#323-error-communicating-to-openai 2023-04-10 18:24:45 +05:30
Toran Bruce Richards 186235f488 Fixes missing cfg in main.py 2023-04-10 13:54:27 +01:00
Wladastic 826a9c8452
Merge branch 'master' into use-macos-tts-instead-of-gtts 2023-04-10 14:47:28 +02:00
Toran Bruce Richards e87b6912bd
Merge branch 'master' into add_documentation 2023-04-10 13:43:24 +01:00
Toran Bruce Richards 78315a99ee
Merge branch 'master' into pr-whitespace 2023-04-10 13:35:47 +01:00
Toran Bruce Richards 93c2582705
Merge branch 'master' into master 2023-04-10 13:29:53 +01: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
Wlad 7e9941e5b1 fix whitespace 2023-04-10 14:17:18 +02:00
Wlad ec239734c5 fix whitespace 2023-04-10 14:15:30 +02:00
Toran Bruce Richards df01d6a4ac
Merge pull request #378 from eltociear/patch-2
fix typo in json_parser.py
2023-04-10 13:14:12 +01:00
Wlad 9dbc8c0455 Merge branch 'master' into use-macos-tts-instead-of-gtts 2023-04-10 14:13:48 +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
Ikko Eltociear Ashimine bcf1606d8a
Merge branch 'master' into patch-2 2023-04-10 20:56:55 +09:00
kinance 5b2d6010dc Resolve the conflict around debug mode flag after pull merge 2023-04-10 20:10:11 +09:00
Toran Bruce Richards 97f853a79d
Merge pull request #33 from AndresCdo/dev
Add documentation
2023-04-10 12:07:42 +01:00
Toran Bruce Richards 1f0209bba7
Fixe incorrect Docstring 2023-04-10 12:07:16 +01:00
Wlad ed16bba0ca fix gtts_speech 2023-04-10 11:22:47 +02:00
Wlad 1946b564a1 fix gtts_speech 2023-04-10 11:22:24 +02:00
Wlad 64eb882947 fix code messup of assistant 2023-04-10 11:20:58 +02:00
Wlad 205a0c84cf fix config read 2023-04-10 11:18:17 +02:00
Wlad 2facc3e2cb add config for mac os tts 2023-04-10 11:11:03 +02:00
onekum b673302134
Make `do_nothing` line uniform 2023-04-10 04:43:34 -04:00
Andres Caicedo 4ca12e216d Merge branch 'master' into dev 2023-04-10 09:58:13 +02:00
Richard Beales 3e249b0557 Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-10 08:37:59 +01:00
Richard Beales 2fb06a3db5
trying to get the right amount of spacing / newlines at the end of main.py! 2023-04-10 08:14:48 +01:00
Richard Beales 9cea7c0f61
Update main.py 2023-04-10 08:11:54 +01:00
Richard Beales 1139b995e6
Merge branch 'Torantulino:master' into master 2023-04-10 08:09:06 +01:00
Toran Bruce Richards da6c0240de
Merge pull request #321 from dhensen/fix-call-ai-function
🛠️ 🧰 Fix call_ai_function storing gpt-4 into kwarg model even when using gpt3only
2023-04-10 08:08:55 +01:00
pratiksinghchauhan 89973e5eda Merge branch 'fix-#323-error-communicating-to-openai' of https://github.com/pratiksinghchauhan/Auto-GPT into fix-#323-error-communicating-to-openai 2023-04-10 12:31:40 +05:30
pratiksinghchauhan 156739788a removed un necessary changes 2023-04-10 12:31:37 +05:30
Pratik Singh Chauhan 15363cc38b
Merge branch 'master' into fix-#323-error-communicating-to-openai 2023-04-10 12:28:06 +05:30
Toran Bruce Richards f5bc36716b
Merge pull request #625 from coditamar/browse_scrape_text_tests_and_fix
scrape_text: (1) added tests , (2) handle RequestException
2023-04-10 07:56:04 +01:00
pratiksinghchauhan 13467259b4 fix: #323 Error communicating with OpenAI 2023-04-10 12:07:37 +05:30
Toran Bruce Richards 4b7f116455
Merge pull request #575 from onekum/do_nothing
Add a `do_nothing` command
2023-04-10 07:26:53 +01:00
Pratik Singh Chauhan c2e61a50ce
Merge branch 'Torantulino:master' into master 2023-04-10 11:51:31 +05:30
pratiksinghchauhan 33c8fe627a improve performance and removed code duplication 2023-04-10 11:39:52 +05:30
Richard Beales 36da740a33 Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-10 06:50:00 +01:00
Itamar Friedman da4a045bd6 Adding most basic URL validation in scrape_text 2023-04-10 08:26:46 +03:00
Bernhard Mueller 09d2f47e08 Introduce EXECUTE_SHELL_COMMANDS config var, default to False 2023-04-10 11:01:48 +07:00
Bernhard Mueller dd469bf2ae Change working directory during shell command execution 2023-04-10 10:26:54 +07:00
Bernhard Mueller 955b83c136 Make line in prompt more concise 2023-04-10 10:16:24 +07:00
Bernhard Mueller 64da02bf4a Fix merge conflicts 2023-04-10 10:14:35 +07:00
Wlad 3456090117 replace gtts with macos tts 2023-04-10 04:21:23 +02:00
Sma Das 9ef82275ca Updated `main.py` to use `clean_input` 2023-04-09 20:55:38 -04:00
Sma Das 41f5cd6b38 Created `utils.py` 2023-04-09 20:53:32 -04:00
Itamar Friedman b0cb247b83 scrape_text: added tests + hande RequestException 2023-04-10 00:18:37 +03:00
Slava Kurilyak (slavakurilyak.eth) fb36c14517
Merge branch 'master' into security-and-robustness-improvements 2023-04-09 14:56:09 -06:00
Chris Cheney a40943ab80 Merge branch 'master' of github.com:Torantulino/Auto-GPT into attr-error-lower 2023-04-09 15:45:52 -05:00
BillSchumacher b6444de25d
Fixes for common json errors, cleanup json_parser file. 2023-04-09 15:22:55 -05: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
Richard Beales af7123f75c Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-09 15:23:05 +01: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
Richard Beales 1096b1277c
Merge branch 'Torantulino:master' into master 2023-04-09 12:56:23 +01:00
Bernhard Mueller 7867c8dc34 Update prompt (advise GPT to use only shell commands that terminate) 2023-04-09 18:43:20 +07: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
Richard Beales b87d126e32
update print_to_console to log to a text file
Uses python logging module to output progress to a text file log.txt
2023-04-09 10:06:30 +01:00
Richard Beales 1badbb0c2e Merge branch 'master' of https://github.com/Torantulino/Auto-GPT 2023-04-09 10:04:06 +01:00
Richard Beales 287a76b03c add basic logging 2023-04-09 10:04:03 +01:00
onekum 93a92d92fc make `do_nothing` a valid command 2023-04-09 04:28:36 -04:00
onekum 56edfc6440 Tell AI about the `do_nothing` command 2023-04-09 04:28:23 -04:00
Toran Bruce Richards d8a7a811c8
Merge pull request #485 from awmorgan/fix_typo_in_prompt
fix typo in prompt.txt
2023-04-09 08:43:00 +01: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
Toran Bruce Richards fd0a4b3186
Merge branch 'master' into feature/time-and-date 2023-04-09 08:02:20 +01:00
Toran Bruce Richards 3923c19524
Merge pull request #559 from Torantulino/memory-improvements
Tweaks how memory is presented to the AI
2023-04-09 07:16:33 +01:00
Toran Bruce Richards a2fe619c7b Improves response to AI that sends wrong output. 2023-04-09 06:44:10 +01:00
Toran Bruce Richards d8410d9ca3 Makes it clearer to the AI exactly what memories are. 2023-04-09 06:16:42 +01:00