Skip to content

A programming framework for agentic AI

bump version to 0.2.2 (#906)

Chi Wanga31b24010036
diff --git a/.github/workflows/openai.yml b/.github/workflows/openai.yml
index b9184fd52..de5f74385 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 3ced3581b..b5fdc7530 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 9384fa54b..21de92527 100644
--- a/setup.py
+++ b/setup.py
@@ -14,7 +14,7 @@ with open(os.path.join(here, "autogen/version.py")) as fp:
__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 0a72c0925..3c2db3b5e 100644
--- a/test/agentchat/test_function_call.py
+++ b/test/agentchat/test_function_call.py
@@ -7,7 +7,7 @@ import asyncio
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 @@ async def test_a_execute_function():
)
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,