Josef Erben
44260934f3
fix: forward kwargs to conversable agent + fix typing ( #1193 )
...
* fix: forwards kwargs to conversable agent + typing
* add description unit test
* add documentation for description
2024-01-13 15:01:39 +00:00
Chi Wang
295b8355f1
bump version to 0.2.4 ( #1160 )
...
* bump version to 0.2.4
* update
---------
Co-authored-by: kevin666aa <yrwu000627@gmail.com>
2024-01-07 00:45:36 +00:00
Maxim Saplin
3f343654bd
Let run tests directly via python test_xyz.py
, fix for conftest
import via sys.path.append
( #1144 )
...
* Runnig tests directly
* All tests with contrib add sys.path
2024-01-05 14:24:49 +00:00
afourney
4fcc45f140
[Core] Throw an error when the OAI_CONFIG_LIST is missing. ( #1082 )
...
* Throw an explicit and proper error when someone asks to load the OAI_CONFIG_LIST, and it is missing.
* Updated to use pytest.raises. Added docstring. Updated some tests to not try to load the config_list when skipping OAI tests.
* Fixed wrong indentation in config_list_from_json, and updated test_utils to work with non-empty lists.
* Read key location from global constants.
* Added missingpath.
* Moved config_list_from_json to inside a skip check.
2024-01-03 16:58:58 +00:00
Maxim Saplin
c80df8acab
Skip tests that depend on OpenAI via --skip-openai
( #1097 )
...
* --skip-openai
* All tests pass
* Update build.yml
* Update Contribute.md
* Fix for failing Ubuntu tests
* More tests skipped, fixing 3.10 build
* Apply suggestions from code review
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
* Added more comments
* fixed test__wrap_function_*
---------
Co-authored-by: Qingyun Wu <qingyun0327@gmail.com>
Co-authored-by: Davor Runje <davor@airt.ai>
2023-12-31 19:37:21 +00:00
KazooTTT
a122ffe541
Fix/typo ( #1034 )
...
* fix: typo
* fix: typo
* fix: typo of function name
* fix: typo of function name of test file
* Update test_token_count.py
---------
Co-authored-by: Eric Zhu <ekzhu@users.noreply.github.com>
2023-12-22 16:00:46 +00:00
Yiran Wu
805d8452c4
Fix test error of compressible agent ( #631 )
...
* fix bug in test
* update workflow
* update
* deepcopy to copy
2023-11-11 19:57:14 +00:00
Yiran Wu
19ea8b8b7a
Add CompressibleAgent ( #443 )
...
* api_base -> base_url (#383 )
* InvalidRequestError -> BadRequestError (#389 )
* remove api_key_path; close #388
* close #402 (#403 )
* openai client (#419 )
* openai client
* client test
* _client -> client
* _client -> client
* extra kwargs
* Completion -> client (#426 )
* Completion -> client
* Completion -> client
* Completion -> client
* Completion -> client
* support aoai
* fix test error
* remove commented code
* support aoai
* annotations
* import
* reduce test
* skip test
* skip test
* skip test
* debug test
* rename test
* update workflow
* update workflow
* env
* py version
* doc improvement
* docstr update
* openai<1
* add compressibleagent
* revise doc, add tests, add example
* fix link
* fix link
* fix link
* remove test
* update doc
* update doc
* add tiktoken to dependency
* filter_func
* async test
* dependency
* revision
* migration guide (#477 )
* migration guide
* change in kwargs
* simplify header
* update optigude description
* update for dev
* revision
* revision
* allow not compressing last n msgs
* update
* correct merge
* update test workflow
* check test
* update for test
* update
* update notebook
* update
* fix bug
* update
* update
* update
* check to "pull_request_target" in contrib-openai
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2023-11-10 04:11:28 +00:00