Chi Wang
d307818dd9
improve test speed ( #2406 )
...
* improve test speed
* speed up test
* speed up test
2024-04-17 20:10:18 +00:00
Li Jiang
42b27b9a9d
Add isort ( #2265 )
...
* Add isort
* Apply isort on py files
* Fix circular import
* Fix format for notebooks
* Fix format
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-04-05 02:26:06 +00:00
Gunnar Kudrjavets
b8ceb866e6
Add shebang functionality to tests ( #1784 )
...
Tests that contain `if __name__ == "__main__":` now have a shebang line
and execute permission.
2024-02-29 01:11:08 +00:00
Qingyun Wu
a00df55306
Allow limiting the maximum number of turns in initiate_chat
and initiate_chats
( #1703 )
...
* max_turns
* add notebook
* simplify code
* groupchat _prepare_chat
* doc
* add doc
* Update autogen/agentchat/conversable_agent.py
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-02-17 17:02:12 +00:00
Qingyun Wu
2a2e466932
Using a more robust "reflection_with_llm" summary method ( #1575 )
...
* summary exception
* badrequest error
* test
* skip reason
* error
* address func call in summary
* reflection_with_llm enhancement and tests
* remove old
* update notebook
* update notebook
2024-02-07 17:17:05 +00:00
bitnom
e97b6395af
Allow initiate_chat without passing message ( #1244 )
...
* allow initiate_chat without passing message
* test human input
* assert called
* Add missing method a_generate_init_message
* fix tests
* add back skipif
* Update test/agentchat/test_async_get_human_input.py
---------
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
2024-01-19 03:46:20 +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
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
Chi Wang
dfcbea9777
seed -> cache_seed ( #600 )
2023-11-08 23:39:02 +00:00
Chi Wang
c4f8b1c761
Dev/v0.2 ( #393 )
...
* 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 tiktoken to dependency
* filter_func
* async test
* dependency
* migration guide (#477 )
* migration guide
* change in kwargs
* simplify header
* update optigude description
* deal with azure gpt-3.5
* add back test_eval_math_responses
* timeout
* Add back tests for RetrieveChat (#480 )
* Add back tests for RetrieveChat
* Fix format
* Update dependencies order
* Fix path
* Fix path
* Fix path
* Fix tests
* Add not run openai on MacOS or Win
* Update skip openai tests
* Remove unnecessary dependencies, improve format
* Add py3.8 for testing qdrant
* Fix multiline error of windows
* Add openai tests
* Add dependency mathchat, remove unused envs
* retrieve chat is tested
* bump version to 0.2.0b1
---------
Co-authored-by: Li Jiang <bnujli@gmail.com>
2023-11-04 04:01:49 +00:00
bonadio
957ec00edd
Adding async support to get_human_input ( #466 )
...
* Adding async support to get_human_input
* Adjust code for Code formatting testing fail
* Adjust the test_async_get_human_input.py to run async on test
* Adjust the test_async_get_human_input.py for pre-commit-check error
* Adjust the test_async_get_human_input.py for pre-commit-check error v2
* Adjust remove unnecessary register_reply
* Adjust test to use asyncio call
* Adjust go back to not use asyncio
2023-11-01 04:30:22 +00:00