mirror of
https://github.com/livekit/agents.git
synced 2026-12-06 03:08:33 +00:00
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.