From ec18925c80a7bc115eb7e10fa1676ace13209989 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sat, 9 Dec 2023 19:16:18 -0800 Subject: [PATCH] bump version to 0.2.2 (#906) * bump version to 0.2.2 * openai version --- .github/workflows/openai.yml | 4 ---- autogen/version.py | 2 +- setup.py | 2 +- test/agentchat/test_function_call.py | 5 +++-- 4 files changed, 5 insertions(+), 8 deletions(-) diff --git a/.github/workflows/openai.yml b/.github/workflows/openai.yml index b9184fd5268..de5f743855f 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 3ced3581bb6..b5fdc753080 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 9384fa54bd8..21de92527a3 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 0a72c0925c1..3c2db3b5e48 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,