Commit Graph

57 Commits

Author SHA1 Message Date
Nicholas Tindle
d74428057e Move task_complete command out of prompt (#3663)
* feat: move task_complete command out of prompt

* fix: formatting fixes

* Add the shutdown command to the test agents

* tests: update test vcrs

---------

Co-authored-by: James Collins <collijk@uw.edu>
2023-05-03 16:40:49 -07:00
Richard Beales
06ae4684c8 replace 50+ occurrences of print() with logger (#3056)
Co-authored-by: James Collins <collijk@uw.edu>
Co-authored-by: Luke Kyohere <lkyohere@mfsafrica.com>
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com>
Co-authored-by: Media <12145726+rihp@users.noreply.github.com>
Co-authored-by: Nicholas Tindle <nick@ntindle.com>
2023-04-29 23:40:57 -05:00
merwanehamadi
a3195d84d3 remove do nothing (#3369) 2023-04-26 19:55:02 -05:00
fluxism
cade788a7e Add <reason> arg to do_nothing command (#3090)
* Add <reason> arg to do_nothing command

* do_nothing returns reason arg
2023-04-24 16:12:15 +01:00
Eddie Cohen
40a75c804c Validate URLs in web commands before execution (#2616)
Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-24 12:33:44 +02:00
Richard Beales
ea26988a95 run black and isort on behalf of OP 2023-04-22 16:58:21 +01:00
BillSchumacher
744c94c96a Lower label and command provided. 2023-04-20 02:22:54 -05:00
BillSchumacher
c561fe8925 Update app.py 2023-04-20 02:19:20 -05:00
BillSchumacher
16f0e22ffa linting 2023-04-19 18:21:03 -05:00
BillSchumacher
d7679d755f Fix all commands and cleanup 2023-04-19 18:17:04 -05:00
BillSchumacher
23c650ca10 Merge branch 'master' of https://github.com/BillSchumacher/Auto-GPT into plugin-support 2023-04-19 17:28:17 -05:00
BillSchumacher
239d64a602 Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT into pr/2032 2023-04-18 19:39:11 -05:00
Will Callender
8532307b2f Rename evaluate_code to analyze_code (#1371)
ChatGPT is less confused by this phrasing

From my own observations and others (ie  #101 and #286) ChatGPT seems to think that `evaluate_code` will actually run code, rather than just provide feedback. Since changing the phrasing to `analyze_code` I haven't seen the AI make this mistake.

---------

Co-authored-by: Reinier van der Leer <github@pwuts.nl>
2023-04-19 02:16:08 +02:00
BillSchumacher
3f2d14f4d8 Fix isort? 2023-04-18 19:07:39 -05:00
BillSchumacher
86d3444fb8 isort, add proper skips. 2023-04-18 18:59:23 -05:00
BillSchumacher
085842d43c Merge branch 'master' of https://github.com/BillSchumacher/Auto-GPT into plugin-support 2023-04-18 18:44:40 -05:00
bingokon
31900f6733 Merge remote-tracking branch 'upstream/master'
# Conflicts:
#	autogpt/app.py
#	autogpt/json_fixes/auto_fix.py
#	autogpt/json_fixes/bracket_termination.py
#	autogpt/json_fixes/master_json_fix_method.py
#	autogpt/json_utils/json_fix_llm.py
#	autogpt/json_utils/utilities.py
2023-04-18 00:01:58 +01:00
Merwane Hamadi
cf9a94a8b6 isort implemented 2023-04-17 13:42:01 -07:00
Richard Beales
e40d6f3314 Merge pull request #2050 from tzengyuxio/master
fix: unreadable text in console and potentially over the max token
2023-04-17 20:23:35 +01:00
Richard Beales
935481c4b5 Merge pull request #2093 from lengweiping1983/master
memory object move to memory_add block
2023-04-17 19:32:18 +01:00
Richard Beales
d4b74661aa Merge pull request #2168 from H-jj-R/master
Spelling Fixes
2023-04-17 18:02:09 +01:00
lfricken
d4860fe9f0 Don't incapacitate yourself! (#1240)
* subprocesses

* fix lint

* fix more lint

* fix merge

* fix merge again
2023-04-17 16:27:53 +01:00
H-jj-R
8dadf79614 Spelling fixes 2023-04-17 13:25:49 +01:00
BingokoN
d82ca101de Resolved merge conflict: Deleted autogpt/json_fixes/auto_fix.py as in HEAD 2023-04-17 12:25:55 +01:00
BingokoN
0d2e196368 refactoring/splitting the json fix functions into general module and llm module which need AI's assistance. 2023-04-17 12:14:43 +01:00
lengweiping
71c6600abf memory object move to memory_add block 2023-04-17 12:44:46 +08:00
BillSchumacher
81c65af560 blacked 2023-04-16 22:51:39 -05:00
BillSchumacher
03c137741a Merge branch 'master' of https://github.com/BillSchumacher/Auto-GPT into plugin-support 2023-04-16 22:13:37 -05:00
BillSchumacher
c110f3489d Finish integrating command registry 2023-04-16 21:51:36 -05:00
EH
9589334a30 Add File Downloading Capabilities (#1680)
* Added 'download_file' command

* Added util and fixed spinner

* Fixed comma and added autogpt/auto_gpt_workspace to .gitignore

* Fix linter issues

* Fix more linter issues

* Fix Lint Issues

* Added 'download_file' command

* Added util and fixed spinner

* Fixed comma and added autogpt/auto_gpt_workspace to .gitignore

* Fix linter issues

* Fix more linter issues

* Conditionally add the 'download_file' prompt

* Update args.py

* Removed Duplicate Prompt

* Switched to using path_in_workspace function
2023-04-17 03:34:02 +01:00
Tzeng Yuxio
da72e69196 fix: unreadable text in console and potentially over the max token 2023-04-17 09:28:33 +08:00
bingokon
7a32e03bd5 refactoring the all json utilities 2023-04-17 00:48:53 +01:00
BillSchumacher
167628c696 Add fields to disable the command if needed by configuration, blacked. 2023-04-16 15:49:36 -05:00
BillSchumacher
ec8ff0fcde Merge branch 'command_registry' of https://github.com/kreneskyp/Auto-GPT into plugin-support 2023-04-16 15:25:21 -05:00
BillSchumacher
3fadf2c90b Blacked 2023-04-16 14:15:38 -05:00
BillSchumacher
c544cebbe6 Merge branch 'master' of https://github.com/BillSchumacher/Auto-GPT into plugin-support 2023-04-16 14:15:15 -05:00
Merwane Hamadi
70100af98e Refactor get_command function in app.py to accept JSON directly 2023-04-16 11:32:27 -07:00
SBNovaScript
13602b4a63 Add list type check 2023-04-16 18:56:09 +01:00
SBNovaScript
f02b6832e2 Fix google result encoding. 2023-04-16 18:56:09 +01:00
BillSchumacher
5e67722836 Merge pull request #1793 from ickma/fix-google-search-encoding
Fix google api fetch error
2023-04-16 04:10:39 -05:00
BillSchumacher
0d1fd4fcf0 Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT into pr/1436 2023-04-16 01:32:18 -05:00
BillSchumacher
abb54df4d0 Add custom commands to execute_command via promptgenerator 2023-04-16 00:37:21 -05:00
chao ma
2576b299e7 Fix google api fetch error 2023-04-16 12:45:49 +08:00
BillSchumacher
b7a29e71cd Refactor prompts into package, make the prompt able to be stored with the AI config and changed. Fix settings file. 2023-04-15 22:15:34 -05:00
BillSchumacher
017371b492 Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT into pr/1718 2023-04-15 19:32:05 -05:00
DaoAdvocate
cfba3d0a60 twitter_send_tweets_command 2023-04-15 23:48:27 +01:00
gucky92
9696fc622c Transcribing audio 2023-04-15 23:19:20 +02:00
BillSchumacher
11d6dabe37 Quality update 2023-04-15 14:55:13 -05:00
Richard Beales
e0590e08d7 Merge pull request #1471 from gersh/fix_agents
Fix list_agents to return string instead of JSON object
2023-04-15 18:46:50 +01:00
Richard Beales
f6a8da0b07 Merge pull request #1507 from jacobtohahn/fix_agent_key_error
Fix agent key error
2023-04-15 18:41:50 +01:00