Commit Graph

66 Commits (f5c600a9f86412393f8ad37f1ad38786938f59e4)

Author SHA1 Message Date
Richard Beales c1f18b5324
Revert "Add ability to use local embeddings model" (#1662) 2023-04-15 19:25:44 +01: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 36019cb5ab
Merge pull request #1618 from younessZMZ/master
Adjust test_config file
2023-04-15 18:39:31 +01:00
Richard Beales af46c0471e
Merge pull request #1609 from younessZMZ/branch1
Adjust test_prompt_generator and add test report generation
2023-04-15 18:32:27 +01:00
Richard Beales 17cdeee214
Merge pull request #1320 from Tymec/master
Add ability to use local embeddings model
2023-04-15 18:13:16 +01:00
Gershon Bialer 6a3fcda751 Merge remote-tracking branch 'origin/master' into fix_agents 2023-04-15 10:04:15 -07:00
younessZMZ 110e2f3ae5 Adjust test_config file 2023-04-15 15:58:01 +00:00
Richard Beales 26ffa41f20
Merge pull request #1567 from drikusroor/cover-token-counter
test: Write unit tests for token_counter
2023-04-15 16:30:37 +01:00
Richard Beales 95f7ed607a
Merge pull request #1202 from merwanehamadi/feature/setup-integration-tests
Feature/setup integration tests
2023-04-15 16:13:01 +01:00
younessZMZ 0c1ff5d6a4 Adjust test_prompt_generator and add test report generation 2023-04-15 15:10:42 +00:00
Tymec 53297e55bf Merge remote-tracking branch 'upstream/master' 2023-04-15 16:03:08 +02:00
Drikus Roor d52381eead fix: Fix imports 2023-04-15 15:20:19 +02:00
Drikus Roor bdefa24ac6 test: Write unit tests for token_counter 2023-04-15 15:11:25 +02:00
BillSchumacher 1073954fb7
Reorg (#1537)
* Pi's message.

* Fix most everything.

* Blacked

* Add Typing, Docstrings everywhere, organize the code a bit.

* Black

* fix import

* Update message, dedupe.

* Increase backoff time.

* bump up retries
2023-04-15 13:56:23 +01:00
Gershon Bialer 9990b78702 Fix linter issues. 2023-04-14 22:44:42 -07:00
Gershon Bialer 2644bc86db list_agents should return string not JSON 2023-04-14 21:42:54 -07:00
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
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
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
Drikus Roor d780988554 chore: Add new lines to end of files 2023-04-12 20:21:42 +02: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