diff --git a/.github/workflows/openai.yml b/.github/workflows/openai.yml index b9184fd5268b..de5f743855f0 100644 --- a/.github/workflows/openai.yml +++ b/.github/workflows/openai.yml @@ -42,10 +42,6 @@ jobs: if: matrix.python-version == '3.9' run: | pip install docker - - name: Install dependencies for test when needed - if: matrix.python-version == '3.10' # test_agentchat_function_call - run: | - pip install -e.[mathchat] - name: Coverage if: matrix.python-version == '3.9' env: diff --git a/autogen/version.py b/autogen/version.py index 3ced3581bb60..b5fdc7530808 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -1 +1 @@ -__version__ = "0.2.1" +__version__ = "0.2.2" diff --git a/setup.py b/setup.py index 9384fa54bd8a..21de92527a35 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ __version__ = version["__version__"] install_requires = [ - "openai~=1.2,<1.3", + "openai~=1.3", "diskcache", "termcolor", "flaml", diff --git a/test/agentchat/test_function_call.py b/test/agentchat/test_function_call.py index 0a72c0925c18..3c2db3b5e48d 100644 --- a/test/agentchat/test_function_call.py +++ b/test/agentchat/test_function_call.py @@ -7,7 +7,7 @@ import json import autogen from autogen.math_utils import eval_math_responses -from test_assistant_agent import KEY_LOC +from test_assistant_agent import KEY_LOC, OAI_CONFIG_LIST import sys @@ -195,10 +195,11 @@ def get_number(): ) def test_update_function(): config_list_gpt4 = autogen.config_list_from_json( - "OAI_CONFIG_LIST", + OAI_CONFIG_LIST, filter_dict={ "model": ["gpt-4", "gpt-4-0314", "gpt4", "gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-v0314"], }, + file_location=KEY_LOC, ) llm_config = { "config_list": config_list_gpt4,