From 1826b537288c9a1f6bbbadd355391efa982f0f3a Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Thu, 7 Dec 2023 06:08:59 +0000 Subject: [PATCH 1/2] bump version to 0.2.2 --- .github/workflows/openai.yml | 4 ---- autogen/version.py | 2 +- test/agentchat/test_function_call.py | 5 +++-- 3 files changed, 4 insertions(+), 7 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/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, From f535e1b5cf22121e73a8317264335306ed22f3ee Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Sun, 10 Dec 2023 03:10:43 +0000 Subject: [PATCH 2/2] openai version --- setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",