Commit Graph

95 Commits

Author SHA1 Message Date
0xArty
627533bed6 minimall add pytest (#1859)
* minimall add pytest

* updated docs and pytest command

* proveted milvus integration test running if milvus is not installed
2023-04-16 21:55:53 +01:00
cs0lar
23b89b80cd merged master and resolved conflicts 2023-04-16 07:49:21 +01: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
Richard Beales
f048f88337 Merge pull request #1700 from OmriGM/tests/chat-tests
Added tests for `create_chat_message` and `generate_context` methods of the chat module
2023-04-16 07:16:04 +01:00
Itamar Friedman
5a8700060e fixing tests to fit latest merges into master 2023-04-15 23:19:50 +01:00
BillSchumacher
9cf7227a67 Merge branch 'master' of https://github.com/Significant-Gravitas/Auto-GPT into pr/87 2023-04-15 16:17:57 -05:00
Omri Grossman
5495d6c0d3 Removed redundant test 2023-04-16 00:09:33 +03:00
cs0lar
03d2032a6a merged master and resolved conflicts 2023-04-15 22:08:38 +01:00
Omri Grossman
167d1be130 Moved test_chat to /unit 2023-04-15 23:40:03 +03:00
Omri Grossman
accec9ab75 Lint fixes - extra whitespace 2023-04-15 23:32:22 +03:00
Omri Grossman
e3751f0e36 Removed comments 2023-04-15 23:23:37 +03:00
Omri Grossman
8293d96f24 Added tests for create_chat_message and generate_context methods of the chat module 2023-04-15 23:15:28 +03:00
BillSchumacher
11d6dabe37 Quality update 2023-04-15 14:55:13 -05:00
cs0lar
51224229eb fixed merge conflicts 2023-04-15 20:32:31 +01:00
Richard Beales
1c12a84ded Merge pull request #1658 from wangxuqi/milvus_memory
Fix Milvus as a long-term memory backend.
2023-04-15 19:53:02 +01:00
Pi
a1d201028b Added missing \n at end of file 2023-04-15 19:51:52 +01:00
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
xuqi.wxq
5e189c83ee Fix Milvus as a long-term memory backend. 2023-04-16 01:45:38 +08: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
cs0lar
b2bfd395ed fixed formatting 2023-04-15 15:49:24 +01:00
Tymec
53297e55bf Merge remote-tracking branch 'upstream/master' 2023-04-15 16:03:08 +02:00
cs0lar
b987cff7da Merge branch 'master' into feature/weaviate-memory 2023-04-15 14:43:01 +01: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
cs0lar
4c7deef9ae merged master and resolved conflicts 2023-04-15 06:51:04 +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