Browse Source

fix logging cost flaky test (#2277)

tags/v0.2.22
cheng-tan GitHub 2 years ago
parent
commit
e83301ed18
No known key found for this signature in database GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      test/agentchat/test_agent_logging.py

+ 1
- 1
test/agentchat/test_agent_logging.py 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"



Loading…
Cancel
Save