Skip to content

Commit

Permalink
bump version (#3231)
Browse files Browse the repository at this point in the history
* bump version

* update

* format

---------

Co-authored-by: kevin666aa <yrwu000627@gmail.com>
Co-authored-by: Yiran Wu <32823396+yiranwu0@users.noreply.github.com>
Co-authored-by: Chi Wang <wang.chi@microsoft.com>
  • Loading branch information
4 people authored Jul 28, 2024
1 parent 61b9e8b commit 277e535
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion autogen/version.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
__version__ = "0.2.32"
__version__ = "0.2.33"
4 changes: 3 additions & 1 deletion test/oai/test_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,9 @@ def test_customized_cost():
config.update({"price": [1000, 1000]})
client = OpenAIWrapper(config_list=config_list, cache_seed=None)
response = client.create(prompt="1+3=")
assert response.cost >= 4 and response.cost < 10, "Due to customized pricing, cost should be > 4 and < 10"
assert (
response.cost >= 4
), f"Due to customized pricing, cost should be > 4. Message: {response.choices[0].message.content}"


@pytest.mark.skipif(skip, reason="openai>=1 not installed")
Expand Down

0 comments on commit 277e535

Please sign in to comment.