Ask a question to get started
Enter to send•Shift+Enter new line
aprune( self, thread_ids: Sequence[str], *, strategy: str = 'keep_latest'
thread_ids
Sequence[str]
strategy
str
'keep_latest'
Asynchronously prune checkpoints for the given threads.
The thread IDs to prune.
The pruning strategy. "keep_latest" retains only the most recent checkpoint per namespace. "delete" removes all checkpoints.
"keep_latest"
"delete"