Populate checkpoint-derived fields for an existing thread list.
This is used by the /threads modal to enrich rows in one background pass,
so the latest checkpoint is fetched and deserialized at most once per row.
populate_thread_checkpoint_details(
threads: list[ThreadInfo],
*,
include_message_count: bool = True,
include_initial_prompt: bool = True
) -> list[ThreadInfo]| Name | Type | Description |
|---|---|---|
threads* | list[ThreadInfo] | Thread rows to enrich in place. |
include_message_count | bool | Default: TrueWhether to populate |
include_initial_prompt | bool | Default: TrueWhether to populate |