mirror of
https://github.com/microsoft/autogen.git
synced 2026-01-25 21:18:28 -05:00
fix logging cost flaky test (#2277)
This commit is contained in:
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user