k-boikov
2cd835e5a4
Added custom_search_engine_id as mandatory for official google search ( #4228 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
2023-05-16 22:20:02 -05:00
Kory Becker
f424fac1d8
Huggingface retry generate_image with delay ( #2745 )
...
Co-authored-by: Media <12145726+rihp@users.noreply.github.com >
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: Nicholas Tindle <nicktindle@outlook.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
Co-authored-by; lc0rp
2023-05-16 10:02:55 -05:00
Boostrix
3c80e05e00
Improve error message by providing the name of the env file ( #3964 )
...
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
2023-05-16 02:26:13 +03:00
k-boikov
cf35112291
Fixed error in safe_google_results, added tests ( #3606 )
2023-05-15 20:54:40 +01:00
k-boikov
d06d8a609f
Fix commands with same name overwriting ( #4226 )
2023-05-15 19:41:11 +01:00
Abdelkarim Habouch
b958386689
Add Edge browser support using EdgeChromiumDriverManager ( #3058 )
...
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: k-boikov <64261260+k-boikov@users.noreply.github.com >
2023-05-14 00:28:30 +03:00
bszollosinagy
ea08050049
BUGFIX: Selenium Driver object reference was included in the browsing results for some reason ( #3642 )
...
* * there is really no need to return the reference to the Selenium driver along with the text summary and list of links.
* * removing unused second return value from browse_website()
* * updated cassette
* * updated YAML cassette for test_browse_website
* * after requirements reinstall, another update YAML cassette for test_browse_website
* * another update YAML cassette for test_browse_website, only as a placholder commit to trigger re-testing due to some docker TCP timeout issue
* * another update YAML cassette for test_browse_website
---------
Co-authored-by: batyu <batyu@localhost>
2023-05-04 23:11:21 +01:00
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
sidewaysthought
a5f856328d
Fix multi-byte character handling in read_file ( #3173 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-05-01 19:50:50 +02:00
non-adjective
7fc6f2abfc
update web_selenium.py to use try-with for headers ( #2988 )
...
Co-authored-by: Richard Beales <rich@richbeales.net >
2023-05-01 16:45:52 +01:00
Bob
94ec4a4ea5
Fix file operations logger ( #3489 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-05-01 17:37:30 +02:00
Richard Beales
c1329c92fd
rename search_files to list_files ( #3595 )
2023-04-30 16:14:53 -05: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
k-boikov
2d058feaf8
Extend & improve file operations tests ( #3404 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-29 16:55:47 +02:00
Steven Baumann
9c6494aca7
Fix clone_repository to conform to URL validation ( #3150 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-29 14:57:48 +02:00
James Collins
92009ceb32
More graceful browsing error handling ( #3494 )
2023-04-28 22:12:47 +01:00
James Collins
3b74d2150e
Organize all the llm stuff into a subpackage ( #3436 )
2023-04-28 12:00:54 -07:00
rickythefox
20ef130341
Add tests for code/shell execution & improve config fixture ( #1268 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-28 14:51:29 +02:00
Irmius
6b4ad1f933
Fix browse_website headless mode for Firefox ( #2816 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-27 19:32:31 +02:00
Montana Flynn
7cd76b8d8e
Add makedirs to file operations ( #3289 )
...
* Add makedirs to file operations
* Add new directory tests for file operations
* Fix wrong setUp test error
* Simplify makedirs and use correct nested path
* Fix linter error
---------
Co-authored-by: Nicholas Tindle <nick@ntindle.com >
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-27 09:12:24 -07:00
BillSchumacher
d8c16de123
The unlooping and fixing of file execution. ( #3368 )
...
* The unlooping and fixing of file execution.
* lint
* Use static random seed during testing. remove unused import.
* Fix bug
* Actually fix bug.
* lint
* Unloop a bit more an fix json.
* Fix another bug.
* lint.
---------
Co-authored-by: merwanehamadi <merwanehamadi@gmail.com >
2023-04-26 21:07:28 -07:00
James Collins
eec86a7b82
Load .env in package init ( #3251 )
2023-04-25 14:53:13 -07:00
Peter Svensson
fac8f7da21
adding probably erroneously removed return value from execut_shell, giving 'None' in return always otherise - not ideal ( #3212 )
...
Co-authored-by: James Collins <collijk@uw.edu >
2023-04-25 13:32:39 -07:00
James Collins
f962939737
Use explicit API keys when querying openai rather than import time manipulation of the package attributes ( #3241 )
2023-04-25 11:38:06 -07:00
Reinier van der Leer
9c60eecce6
Improve docker setup & config ( #1843 )
...
* Improve docker setup & config
* fix(browsing): Selenium needs access to home directory
* fix(docker): allow overriding memory backend settings
* simplify Dockerfile and docker-compose config
* add .dockerignore
* adjust Docker CI with release build type arg
* replace Chrome by Chromium in devcontainer
* update docs
* update bulletin
* use preinstalled chromedriver in web_selenium.py
* update installation.md
* fix code blocks for mkdocs
* fix links to docs
2023-04-24 14:27:53 +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
James Collins
43fa67ca81
Remove unnecessary memory call
2023-04-23 16:54:32 -07:00
James Collins
dcd6aa912b
Add workspace abstraction ( #2982 )
...
* Add workspace abstraction
* Remove old workspace implementation
* Extract path resolution to a helper function
* Add api key requirements to new tests
2023-04-23 14:36:04 -05:00
Richard Beales
0efbe23d89
Merge pull request #2756 from gklab/master
...
adjust file_operations.py code format
2023-04-22 10:24:54 +01:00
Richard Beales
f342b84479
Merge pull request #2851 from sudouser777/fix/typo
...
fixed typo
2023-04-22 06:31:42 +01:00
ZHAOKAI WANG
019ac37d49
Merge branch 'master' into master
2023-04-22 10:40:22 +08:00
Steve
3ab67e746d
Add file op tests ( #2205 )
...
Co-authored-by: Steven Byerly <stevenbyerly@microsoft.com >
2023-04-22 04:17:38 +02:00
Raju Komati
3bf5934b20
fixed typo
2023-04-22 02:52:13 +05:30
ZHAOKAI WANG
e7c2a4068e
Update file_operations.py
2023-04-21 13:06:44 +08:00
ZHAOKAI WANG
45a9ff6e74
Update file_operations.py
2023-04-21 13:03:52 +08:00
lengweiping1983
63c2182870
Fix typo's ( #2735 )
...
Co-authored-by: lengweiping <lengweiping@vinotar.com >
2023-04-21 06:09:17 +02:00
Nick Foster
ec27d5729c
Fix label of download_file command ( #2753 )
...
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-21 04:55:20 +02:00
gklab
a2e75aabdd
adjust file_operations.py code format
2023-04-21 10:19:28 +08:00
Andres Caicedo
558003704e
Add missing size param to generate_image_with_dalle ( #2691 )
2023-04-21 04:00:44 +02: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
aeb1178a47
linting
2023-04-18 19:26:18 -05:00
BillSchumacher
7086961e00
Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT into pr/1477
2023-04-18 19:20:24 -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
86d3444fb8
isort, add proper skips.
2023-04-18 18:59:23 -05:00
Josh XT
9514919d37
Option to disable working directory restrictions ( #1875 )
...
Remove restriction on working directory if RESTRICT_TO_WORKSPACE != True
---------
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-19 01:54:38 +02:00
Tymec
ac023e95c0
fix: remove "wait-for-model" header from hf request
2023-04-19 01:46:24 +02:00
BillSchumacher
085842d43c
Merge branch 'master' of https://github.com/BillSchumacher/Auto-GPT into plugin-support
2023-04-18 18:44:40 -05:00
Will Callender
74aa4add1b
fix(python-run): prompt users to install Docker when execute_python_file encounters a Docker error ( #2231 )
...
fix(python-run): make error message more explicit
---------
Co-authored-by: Reinier van der Leer <github@pwuts.nl >
2023-04-19 01:37:31 +02:00