Files
livekit-agents/python
Théo Monnom da2dac64a9 storage: list_threads pages ThreadSummary rows by creation, newest or oldest first
list_threads(scope=None, *, sort_order="newest_first", page_token=None, limit=None)
returns ThreadPage(threads, next_page_token); the before cursor is gone. SortOrder is an
ABI enum. Rows are ThreadSummary, without last_active or expires_at; ThreadInfo keeps them.
No scope lists the project's threads (the local thread service follows the grant).
Pages are 50 by default and 100 at most on every backend. SQLite orders by creation in
either direction with page tokens bound to scope and order; agent-db stays newest first
and refuses oldest_first until AgentThread.ListRequest carries sort_order.
2026-11-19 22:13:52 -08:00
..