Prune threads by ID. The 'delete' strategy removes threads entirely. The 'keep_latest' strategy prunes old checkpoints but keeps threads and their latest state.
prune(threadIds: string[], options: __type): Promise<__type>| Name | Type | Description |
|---|---|---|
threadIds* | string[] | List of thread IDs to prune. |
options | __type | Additional options for pruning. |