Commit Graph

557 Commits (d06d8a609fd5ba74dd7582777aacc51f4bd7d3a2)

Author SHA1 Message Date
Merwane Hamadi c59b6b5543 wrap infinite loop in class agent 2023-04-13 15:19:41 -07:00
EH c7cf00d667
Merge branch 'master' into flags-updates 2023-04-13 23:17:18 +01:00
Sma Das 439e736b8b
Removed unneeded imports 2023-04-13 17:00:03 -04:00
Richard Beales 4b2870fcec
Merge pull request #1016 from josephcmiller2/continuous-mode-limit
Continuous mode limit
2023-04-13 21:04:24 +01:00
Richard Beales d8681435c7
Merge pull request #970 from suclogger/fix-reading-config-file-encoding
Use UTF-8 encoding for reading config file.
2023-04-13 20:59:41 +01:00
Richard Beales b8301118a6
Merge pull request #1142 from melambert/api-error
Simple retry on Open AI chat if a Rate Limit or 502 Bad Gateway…
2023-04-13 20:39:56 +01:00
Joseph C. Miller, II f3e9739501 Revert inadvertent change 2023-04-13 13:35:46 -06:00
Richard Beales b8cf6fae10
Merge pull request #1138 from Celthi/txt-dev
skip getting relevant memory if no message history
2023-04-13 20:34:38 +01:00
Joseph C. Miller, II 95b93045be Exit message should be yellow 2023-04-13 13:16:14 -06:00
Joseph C. Miller, II 56b3fc916e Merge with master 2023-04-13 12:51:36 -06:00
Alrik Olson 8186ccb56a formatting 2023-04-13 11:36:48 -07:00
Richard Beales af40de5342
Merge pull request #884 from Androbin/patch-4
Fix JSON formatting in prompt.txt
2023-04-13 19:23:41 +01:00
Alrik Olson 412e48c599 Merge branch 'master' into prompt-generator 2023-04-13 11:00:04 -07:00
Richard Beales f4ff62f0cb
Flake8 linter fix E302 2023-04-13 18:57:14 +01:00
Alrik Olson 9b256a3dd5 Merge branch 'master' into prompt-generator 2023-04-13 10:54:39 -07:00
Richard Beales ff52b204c3
Merge pull request #1147 from Torantulino/richbeales-patch-2
Hotfix - re-add missing cfg variable to memory/base
2023-04-13 18:35:31 +01:00
Richard Beales 0488385f2c
Merge pull request #1151 from nponeccop/pr-whitespace-E302
Fix flake8 E302
2023-04-13 18:34:00 +01:00
Andy Melnikov 6bb4ca0bff Fix flake8 E302 2023-04-13 19:32:35 +02:00
Richard Beales 23e5f3c3c6
Merge pull request #1148 from ezzcodeezzlife/master
remove output to set OpenAI API key in config.py
2023-04-13 18:24:58 +01:00
Richard Beales 6f4b2ffb4a
Merge pull request #1038 from primaryobjects/azure-ad
Config option for azure_ad to support Managed Identities
2023-04-13 18:05:33 +01:00
fabi.s 1da9dbe671 remove output to set OpenAI API key in config.py 2023-04-13 19:05:23 +02:00
Richard Beales 53c00b4199
Hotfix - re-add missing cfg variable to memory/base 2023-04-13 18:01:12 +01:00
Richard Beales 0ba2956ee4
Merge pull request #1014 from drikusroor/fix-flake8-issues-pt-2
Fix flake8 issues pt. 2 (Add E231 & E302 flake8 rules)
2023-04-13 17:56:06 +01:00
Richard Beales 5e4b0def8c
Merge pull request #1033 from merwanehamadi/feature/put-loop-in-if-main
put loop in in if main
2023-04-13 17:54:59 +01:00
Kory Becker 36f0570e93
Merge branch 'master' into azure-ad 2023-04-13 12:53:57 -04:00
Kory Becker da247ca600 merge fix 2023-04-13 12:47:16 -04:00
Richard Beales cc0bd3b962
Merge pull request #1121 from ymarouani/bugFix/temperatureType
temperature should not be an Int. it can be any value between 0-1
2023-04-13 17:38:26 +01:00
Mark d2f75e8659 Added simple retry on Open AI chat if a Rate Limit or 502 Bad Gateway error received 2023-04-13 17:23:16 +01:00
Merwane Hamadi b112f5ebfa put loop in in if main 2023-04-13 09:09:38 -07:00
celthi c5188d5611 skip getting relevant memory if no message history 2023-04-13 23:41:09 +08:00
Pi cc8fc99c50
Merge pull request #938 from 6rzes/fix_encoding_charmap_utf
fix  Error: 'charmap' codec can't encode character '\u0142' in position 99: character maps to<undefined>
2023-04-13 16:17:08 +01:00
Kory Becker 6dd6b1f878
Merge branch 'master' into azure-ad 2023-04-13 11:11:56 -04:00
Alrik Olson 2a62394112 add: execute shell command to prompt.py 2023-04-13 07:56:56 -07:00
Alrik Olson 1bb056e9c9 Merge branch 'master' into prompt-generator 2023-04-13 07:56:42 -07:00
Joseph C. Miller, II 2f7a402040 Use yellow instead of red for termination message 2023-04-13 08:49:22 -06:00
Pi a3efbd0bee
Merge pull request #1011 from cryptidv/redis-logging
Improved logging on connection fail to a Memory Backend
2023-04-13 15:47:41 +01:00
Pi dcf379c3e2
Merge pull request #1032 from merwanehamadi/feature/ability-have-no-memory
Feature/ability have no memory
2023-04-13 15:27:19 +01:00
Yossi Marouani dd15900804 temperature should not be an Int. it can be any value between 0-1 2023-04-13 17:19:02 +03:00
Pi befa70b0e1
Merge pull request #1068 from Thakay/fixed-redundancy
Removed redundant cfg object creation in base memory file
2023-04-13 14:44:50 +01:00
Eesa Hamza ff094c7ecc Resolve Linter Issues 2023-04-13 15:09:24 +03:00
Maiko Bossuyt 334400edd1
Merge branch 'Torantulino:master' into add_ingest_documents_script 2023-04-13 13:50:41 +02:00
Maiko Bossuyt 1b49c1d37a
Merge branch 'master' into add_website_memory 2023-04-13 13:47:46 +02:00
Eesa Hamza a10ffc1dbe Fixed error logging when choosing non-supported memory backend with '--use-memory' 2023-04-13 14:26:16 +03:00
Eesa Hamza 0f6fba7d65 Implemented the '--ai-settings' flag 2023-04-13 14:02:42 +03:00
Eesa Hamza 428caa9bef Added flags, and implemented skip-reprompt 2023-04-13 12:57:57 +03:00
Drikus Roor abe01ab81e fix: Fix flake8 linting errors 2023-04-13 11:05:36 +02:00
Drikus Roor 62edc148a8 chore: Remove functions that had been removed on the master branch recently 2023-04-13 10:56:02 +02:00
Drikus Roor d1ea6cf002 lint: Fix all E302 linting errors 2023-04-13 10:50:51 +02:00
Drikus Roor 4afd0a3714 lint: Fix E231 flake8 linting errors 2023-04-13 10:50:27 +02:00
WalterSumbon 4c7eef550a replace deprecated function with current equivalent 2023-04-13 16:45:08 +08:00
Kasra Amini 0061976a91 Removed redundant cfg object creation in base memory file 2023-04-13 03:32:39 -04:00
Peter Edwards 1a64a60296
Merge branch 'Torantulino:master' into more_azure 2023-04-13 08:53:20 +02:00
Andy Melnikov e635cf4a4a Fix flake8 E303,W293,W291,W292,E305
Some of the previously fixed things creeped in. I would like to keep the
requirements low on the PR authors for now and gradually improve the
pep8 compliance without introducing much breakage.
2023-04-13 08:49:20 +02:00
Peter Edwards 285627e216 remove trailing whitespace 2023-04-13 08:41:18 +02:00
Peter Edwards 84c72d4f8c Merge remote-tracking branch 'upstream/master' into more_azure 2023-04-13 08:35:13 +02:00
Peter Edwards fc13122d56 Merge branch 'more_azure' of https://github.com/sweetlilmre/Auto-GPT into more_azure 2023-04-13 08:29:14 +02:00
Peter Edwards bc4bca65d5 Fix for python < 3.10 2023-04-13 08:29:07 +02:00
Richard Beales 886117d82e
Merge pull request #1028 from merwanehamadi/feature/add-ability-change-temperature
Feature/add ability change temperature
2023-04-13 07:28:15 +01:00
Richard Beales dabaa9d6a8
Merge pull request #965 from nolan23/master
pull image if it's not found locally
2023-04-13 07:26:30 +01:00
Richard Beales 49b65590ea
Merge pull request #781 from chozzz/fix/refactor-code
Remove duplicated unnecessary codes
2023-04-13 07:17:37 +01:00
Richard Beales 8e30edba2c
Merge pull request #463 from muellerberndt/shellcommands
Add capability to execute shell commands
2023-04-13 07:16:52 +01:00
Peter Edwards 5cec481711
Merge branch 'Torantulino:master' into more_azure 2023-04-13 08:13:03 +02:00
Peter Edwards bcdb4e476f Merge remote-tracking branch 'upstream/master' into more_azure 2023-04-13 08:12:29 +02:00
Bernhard Mueller f79c7c4d1e Fix linter errors 2023-04-13 12:43:25 +07:00
Bernhard Mueller 946700fcf7 Change workdir logic 2023-04-13 11:27:43 +07:00
Bernhard Mueller 3ff2323450 Rename command & functions to execute_shell 2023-04-13 11:04:26 +07:00
Alrik Olson a3eedfcd2f Merge branch 'master' into prompt-generator 2023-04-12 19:48:33 -07:00
Kory Becker db9f8a2749 Added config option for OPENAI_API_TYPE=azure_ad 2023-04-12 22:14:51 -04:00
Merwane Hamadi 84c128fd0f Create NoMemory provider as a memory provider that does not store any data 2023-04-12 17:48:11 -07:00
Merwane Hamadi 62bd93a4d2 Import NoMemory and add it as a memory_backend option in get_memory function 2023-04-12 17:48:08 -07:00
vadi c594200195 Remove duplicated unnecessary config instance 2023-04-13 10:01:52 +10:00
Merwane Hamadi f4831348e8 Use configured temperature value in create_chat_completion function 2023-04-12 16:27:11 -07:00
Merwane Hamadi 4faba1fdd8 Add temperature configuration option to Config class 2023-04-12 16:27:01 -07:00
Joseph C. Miller, II a5d4ffd945 Merge branch 'master' into continuous-mode-limit 2023-04-12 15:50:05 -06:00
Joseph C. Miller, II d706a3436d Make configuration similar to other arguments. 2023-04-12 15:39:25 -06:00
Joseph C. Miller, II 12e1fcca92 Correct the checking for continuous limit without continuous mode 2023-04-12 15:36:35 -06:00
Maiko Bossuyt 36d455c20e split_file() rework
rework the split_file function to make it simple and only have one yield while providing an overlap at the start and end of each chunk
2023-04-12 23:31:26 +02:00
Joseph C. Miller, II 5badde2c27 Add message to explain exit. 2023-04-12 15:30:34 -06:00
Maiko Bossuyt 3a2ccbd02f
Merge branch 'master' into add_website_memory 2023-04-12 23:18:09 +02:00
Itamar Friedman 3e53e976a5 flake8 style 2023-04-13 00:06:23 +03:00
Itamar Friedman bf3c76ced7 flake8 style 2023-04-13 00:04:08 +03:00
Itamar Friedman 9f972f4ee9 flake8 style 2023-04-13 00:00:33 +03:00
Maiko Bossuyt 2c8b42307b
Merge branch 'Torantulino:master' into add_ingest_documents_script 2023-04-12 22:52:08 +02:00
Itamar Friedman 54478b35f2 Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-12 23:51:53 +03:00
Eesa Hamza 76b5b95744 Attempt to fix Linter issues 2023-04-12 23:49:32 +03:00
Maiko Bossuyt 2e0b44ae05 fix chunk creation
the last chunk wasn't correctly created, this commit fix that issue.
2023-04-12 22:46:49 +02:00
Eesa Hamza 8c51fe8373 Added new logging function as an error or warning message 2023-04-12 23:38:53 +03:00
Eesa Hamza 5d871f04e6 Added pinecone connectivity check and added relevant logging 2023-04-12 23:29:54 +03:00
Eesa Hamza a850c27dd5 Improved logging on connection fail to redis 2023-04-12 23:13:34 +03:00
Drikus Roor 1f837968ff fix: Fix flake8 errors based on the flake8 command with a narrower definition of errors 2023-04-12 22:12:25 +02:00
Itamar Friedman 57bca3620e minor style 2023-04-12 23:04:43 +03:00
Itamar Friedman c63645cbba redo suggested changes. move unit test files to the fitting directory 2023-04-12 22:41:23 +03:00
Itamar Friedman 7c0c896600 Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-12 22:31:51 +03:00
Richard Beales 7e3ff66494
Merge pull request #913 from chozzz/bugfix-823
Bugfix for #840 - Local memory fix
2023-04-12 20:07:50 +01:00
Maiko Bossuyt 4c30b47bbc Merge branch 'add_ingest_documents_script' of https://github.com/maiko/Auto-GPT into add_ingest_documents_script 2023-04-12 20:40:41 +02:00
Maiko Bossuyt 2afc89a1a4
Merge branch 'Torantulino:master' into add_ingest_documents_script 2023-04-12 20:40:11 +02:00
Richard Beales 0528aacfb7
Merge pull request #827 from PierreBastiani/user_input-quality_of_life
check for authorise 'y' without trailing space
2023-04-12 19:36:58 +01:00
Richard Beales bc75c74eef
Merge pull request #957 from cryptidv/master
Adds a '--use-memory' flag to choose memory backend at runtime
2023-04-12 19:33:30 +01:00
Maiko Bossuyt 280647ff38 Update data_ingestion.py
move the search_file function inside the data_ingestion script
add memory initialisation argument
add overlap argument
add chunk max_length argument
2023-04-12 20:19:36 +02:00
Maiko Bossuyt 4465486ea3 Update file_operations.py
move the search_file function inside the data_ingestion script
2023-04-12 20:19:27 +02:00