Wrap an async token stream so it fails when the gap between items is too long or the whole stream runs past a deadline, closing the source.
Only a few problems are open while we find out which ones people actually want. This one opens when enough people ask for it.
Used once to tell you this problem opened, then deleted. Sending it also counts as asking for the problem.
Group concurrent inference requests into batches that flush when full or when the oldest request has waited long enough, with cancellation and drain.
Collapse concurrent fetches for the same key into one shared call, with per-caller timeouts that never cancel the shared work.
Turn an iterator of arbitrary byte chunks into delimited messages, handling messages and multi-byte delimiters split across chunks.
Run inference requests through a fixed pool of asyncio workers sharing one queue, isolate failures, and return results in input order.
See all problems