fix logging cost flaky test (#2277)

This commit is contained in:
cheng-tan
2024-04-04 10:36:46 -04:00
committed by GitHub
parent 513b0b7884
commit e83301ed18

View File

@@ -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"