109 Commits

Author SHA1 Message Date
Gershon Bialer
0b4f0f5622 Add unit test for testing adding a gent 2023-04-14 21:34:28 -07:00
Merwane Hamadi
dc4094b264 added smoke test 2023-04-14 17:20:02 -07:00
Tymec
6c9ec32195 test: fixed imports 2023-04-15 01:34:51 +02:00
Tymec
753394228a Merge remote-tracking branch 'upstream/master' 2023-04-15 01:30:20 +02:00
Merwane Hamadi
ca5a52f48a Update sys.path to use pathlib in json_tests.py 2023-04-14 15:46:02 -07:00
Merwane Hamadi
36091853e0 Add integration test for write_file command 2023-04-14 15:45:45 -07:00
Merwane Hamadi
7e21123a5d Add README.md with instructions on running tests 2023-04-14 15:45:45 -07:00
Tymec
062176d3f5 test: replaced MockConfig with real config
get_embedding function uses config
2023-04-14 22:49:13 +02:00
0xArty
328ba5e69e formatting 2023-04-14 20:42:28 +01:00
Merwane Hamadi
9b56ebe5c4 removed json_tests.py test_that_apologies_containing_multiple_json_get_the_correct_one because it breaks 2023-04-14 11:55:18 -07:00
Dino Hensen
d64f866bfa Convert to python module named autogpt.
Also fixed the Dockerfile.
Converting to module makes development easier.
Fixes coverage script in CI and test imports.
2023-04-14 10:27:41 -07:00
Tymec
34eac5754c test: fix typo and add newline at the end
- Fixed "embeder" typo to "embedder"
- Added newline at the end of test unit
2023-04-14 18:06:47 +02:00
Tymec
fb6684450c test: added tests for memory embeder 2023-04-14 14:56:58 +02:00
Alrik Olson
8186ccb56a formatting 2023-04-13 11:36:48 -07:00
Alrik Olson
9b256a3dd5 Merge branch 'master' into prompt-generator 2023-04-13 10:54:39 -07:00
cs0lar
2f8cf68762 fixed conflicts 2023-04-13 18:33:13 +01:00
cs0lar
067e697b8b fixed weaviate test and fixed conflicts 2023-04-13 18:24:43 +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
Alrik Olson
1bb056e9c9 Merge branch 'master' into prompt-generator 2023-04-13 07:56:42 -07:00
digger-yu
0c7b7e5de8 Update test_json_parser.py
Optimize part of the code to maintain uniformity
2023-04-13 18:43:32 +08: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
cs0lar
855de1890f Merge branch 'master' into feature/weaviate-memory 2023-04-13 06:23:36 +01:00
Alrik Olson
a3eedfcd2f Merge branch 'master' into prompt-generator 2023-04-12 19:48:33 -07: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
Itamar Friedman
a40ccc1e5d flake8 style 2023-04-12 23:53:40 +03:00
Itamar Friedman
54478b35f2 Merge branch 'master' into browse_scrape_links_test_and_validate 2023-04-12 23:51:53 +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
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
cs0lar
5592dbd277 resolved latest conflicts 2023-04-12 19:54:56 +01:00
Drikus Roor
d780988554 chore: Add new lines to end of files 2023-04-12 20:21:42 +02:00
cs0lar
b9a4f97790 resolved latest conflicts 2023-04-12 18:52:06 +01:00
Richard Beales
364e2a4ba1 Merge branch 'master' into add-unit-tests-workflow 2023-04-12 18:14:37 +01:00
Alrik Olson
2ef9928a2e Merge remote-tracking branch 'origin/master' into prompt-generator 2023-04-12 07:33:36 -07:00
sarango
16b37fff1d Fix to LocalCache add method, created integration test for it 2023-04-12 21:49:23 +12:00
Itamar Friedman
2ec42bf3e8 removing compliant whitespace 2023-04-12 12:21:53 +03:00
Drikus Roor
d8f9d1df98 fix: Fix json_parsers tests 2023-04-12 10:16:42 +02:00
Drikus Roor
ed120c3a39 fix: Fix browse scrape test 2023-04-12 10:16:42 +02: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
28cf7c3f83 test: Add tests for config file 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
cs0lar
453b428d33 added support for weaviate embedded 2023-04-12 08:21:41 +01: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
Alrik Olson
8bbfdeb04a Add unit tests for prompt generator class 2023-04-11 09:43:37 -07:00
cs0lar
5fe784aabe added weaviate to the supported vector memory providers 2023-04-11 11:14:13 +01: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