We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 70afcf1 commit 68d2f9eCopy full SHA for 68d2f9e
1 file changed
tests/test_ai_monitoring.py
@@ -316,7 +316,7 @@ class MockScope:
316
def __init__(self):
317
self._gen_ai_original_message_count = {}
318
319
- small_limit = 1000
+ small_limit = 3000
320
span = MockSpan()
321
scope = MockScope()
322
original_count = len(large_messages)
@@ -327,8 +327,7 @@ def __init__(self):
327
assert isinstance(result, list)
328
assert not isinstance(result, AnnotatedValue)
329
assert len(result) < len(large_messages)
330
- n_removed = original_count - len(result)
331
- assert scope._gen_ai_original_message_count[span.span_id] == n_removed
+ assert scope._gen_ai_original_message_count[span.span_id] == original_count
332
333
def test_scope_tracks_removed_messages(self, large_messages):
334
class MockSpan:
0 commit comments