diff --git a/src/agents/tracing/processors.py b/src/agents/tracing/processors.py index b15dc9a5c..54858175e 100644 --- a/src/agents/tracing/processors.py +++ b/src/agents/tracing/processors.py @@ -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] = []