From 73d7e9203bad7ce9c005d7e81e55eb78abc28919 Mon Sep 17 00:00:00 2001 From: Chi Wang Date: Tue, 5 Dec 2023 13:09:05 -0800 Subject: [PATCH] bump version to 0.2.1 (#867) * bump version to 0.2.1 * remove example link * update --------- Co-authored-by: Qingyun Wu Co-authored-by: kevin666aa --- autogen/version.py | 2 +- setup.py | 2 +- test/oai/test_client.py | 2 +- website/docs/Examples.md | 1 - 4 files changed, 3 insertions(+), 4 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", 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" 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**