Skip to content

Commit ec18925

Browse files
authored
bump version to 0.2.2 (microsoft#906)
* bump version to 0.2.2 * openai version
1 parent d25c1db commit ec18925

File tree

4 files changed

+5
-8
lines changed

4 files changed

+5
-8
lines changed

.github/workflows/openai.yml

-4
Original file line numberDiff line numberDiff line change
@@ -42,10 +42,6 @@ jobs:
4242
if: matrix.python-version == '3.9'
4343
run: |
4444
pip install docker
45-
- name: Install dependencies for test when needed
46-
if: matrix.python-version == '3.10' # test_agentchat_function_call
47-
run: |
48-
pip install -e.[mathchat]
4945
- name: Coverage
5046
if: matrix.python-version == '3.9'
5147
env:

autogen/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.1"
1+
__version__ = "0.2.2"

setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
__version__ = version["__version__"]
1515

1616
install_requires = [
17-
"openai~=1.2,<1.3",
17+
"openai~=1.3",
1818
"diskcache",
1919
"termcolor",
2020
"flaml",

test/agentchat/test_function_call.py

+3-2
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import json
88
import autogen
99
from autogen.math_utils import eval_math_responses
10-
from test_assistant_agent import KEY_LOC
10+
from test_assistant_agent import KEY_LOC, OAI_CONFIG_LIST
1111
import sys
1212

1313

@@ -195,10 +195,11 @@ def get_number():
195195
)
196196
def test_update_function():
197197
config_list_gpt4 = autogen.config_list_from_json(
198-
"OAI_CONFIG_LIST",
198+
OAI_CONFIG_LIST,
199199
filter_dict={
200200
"model": ["gpt-4", "gpt-4-0314", "gpt4", "gpt-4-32k", "gpt-4-32k-0314", "gpt-4-32k-v0314"],
201201
},
202+
file_location=KEY_LOC,
202203
)
203204
llm_config = {
204205
"config_list": config_list_gpt4,

0 commit comments

Comments
 (0)