Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 1 addition & 2 deletions src/agents/tracing/processors.py
Original file line number Diff line number Diff line change
Expand Up @@ -269,8 +269,7 @@ def _run(self):

def _export_batches(self, force: bool = False):
"""Drains the queue and exports in batches. If force=True, export everything.
Otherwise, export up to `max_batch_size` repeatedly until the queue is empty or below a
certain threshold.
Otherwise, export up to `max_batch_size` repeatedly until the queue is completely empty.
"""
while True:
items_to_export: list[Span[Any] | Trace] = []
Expand Down