From c5b07e984c6b7fa1ec107617f87b2685f0868b58 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Mon, 4 Dec 2023 21:27:01 +0000 Subject: [PATCH 1/3] bump version to 0.2.1 --- autogen/version.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/autogen/version.py b/autogen/version.py index d3ec452c319b..3ced3581bb60 100644 --- a/autogen/version.py +++ b/autogen/version.py @@ -1 +1 @@ -__version__ = "0.2.0" +__version__ = "0.2.1" diff --git a/setup.py b/setup.py index 9c1e1e3bd34d..9384fa54bd8a 100644 --- a/setup.py +++ b/setup.py @@ -14,7 +14,7 @@ __version__ = version["__version__"] install_requires = [ - "openai~=1.2", + "openai~=1.2,<1.3", "diskcache", "termcolor", "flaml", From 6f7e0f7770159d3e37c6007b7387e11f207e367d Mon Sep 17 00:00:00 2001 From: Qingyun Wu Date: Tue, 5 Dec 2023 13:57:12 -0500 Subject: [PATCH 2/3] remove example link --- website/docs/Examples.md | 1 - 1 file changed, 1 deletion(-) diff --git a/website/docs/Examples.md b/website/docs/Examples.md index 0a0324303a48..cbafd96d5207 100644 --- a/website/docs/Examples.md +++ b/website/docs/Examples.md @@ -35,7 +35,6 @@ Links to notebook examples: - Use Provided Tools as Functions - [View Notebook](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_function_call.ipynb) - Task Solving with Langchain Provided Tools as Functions - [View Notebook](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_langchain.ipynb) - **RAG**: Group Chat with Retrieval Augmented Generation (with 5 group member agents and 1 manager agent) - [View Notebook](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_groupchat_RAG.ipynb) - - In-depth Guide to OpenAI Utility Functions - [View Notebook](https://github.com/microsoft/autogen/blob/main/notebook/oai_openai_utils.ipynb) - Function Inception: Enable AutoGen agents to update/remove functions during conversations. - [View Notebook](https://github.com/microsoft/autogen/blob/main/notebook/agentchat_inception_function.ipynb) 1. **Human Involvement** From 79ef6b7e2798a7a14180c5cd2c4589aff1789562 Mon Sep 17 00:00:00 2001 From: kevin666aa Date: Tue, 5 Dec 2023 15:04:59 -0500 Subject: [PATCH 3/3] update --- test/oai/test_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/oai/test_client.py b/test/oai/test_client.py index de96857adfea..5e392855b035 100644 --- a/test/oai/test_client.py +++ b/test/oai/test_client.py @@ -68,7 +68,7 @@ def test_cost(cache_seed, model): def test_usage_summary(): config_list = config_list_openai_aoai(KEY_LOC) client = OpenAIWrapper(config_list=config_list) - response = client.create(prompt="1+3=", model="gpt-3.5-turbo-instruct", cache_seed=42) + response = client.create(prompt="1+3=", model="gpt-3.5-turbo-instruct", cache_seed=None) # usage should be recorded assert client.actual_usage_summary["total_cost"] > 0, "total_cost should be greater than 0"