mirror of https://github.com/microsoft/autogen.git
fix logging cost flaky test (#2277)
This commit is contained in:
parent
513b0b7884
commit
e83301ed18
|
@ -116,7 +116,7 @@ def test_two_agents_logging(db_connection):
|
|||
else:
|
||||
assert "choices" in response and len(response["choices"]) > 0
|
||||
|
||||
assert row["cost"] > 0
|
||||
assert row["cost"] >= 0.0
|
||||
assert row["start_time"], "start timestamp is empty"
|
||||
assert row["end_time"], "end timestamp is empty"
|
||||
|
||||
|
|
Loading…
Reference in New Issue