Skip to content

Commit 277e535

Browse files
qingyun-wuyiranwu0sonichi
authored
bump version (#3231)
* bump version * update * format --------- Co-authored-by: kevin666aa <[email protected]> Co-authored-by: Yiran Wu <[email protected]> Co-authored-by: Chi Wang <[email protected]>
1 parent 61b9e8b commit 277e535

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

autogen/version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
__version__ = "0.2.32"
1+
__version__ = "0.2.33"

test/oai/test_client.py

+3-1
Original file line numberDiff line numberDiff line change
@@ -143,7 +143,9 @@ def test_customized_cost():
143143
config.update({"price": [1000, 1000]})
144144
client = OpenAIWrapper(config_list=config_list, cache_seed=None)
145145
response = client.create(prompt="1+3=")
146-
assert response.cost >= 4 and response.cost < 10, "Due to customized pricing, cost should be > 4 and < 10"
146+
assert (
147+
response.cost >= 4
148+
), f"Due to customized pricing, cost should be > 4. Message: {response.choices[0].message.content}"
147149

148150

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

0 commit comments

Comments
 (0)