mirror of
https://github.com/openai/codex.git
synced 2026-11-13 06:45:07 +00:00
[codex] Make thread store turn filter optional (#28949)
Make `ListItemsParams::turn_id` optional so callers can list persisted items across an entire thread or narrow the result to one turn. This aligns the thread-store API and documentation with thread-wide item listing while preserving the optional turn-filter behavior for implementations.
This commit is contained in:
3 files changed
+6
-6
No files matched your search
@@ -79,7 +79,7 @@ mod tests {
|
||||
let items_err = store
|
||||
.list_items(ListItemsParams {
|
||||
thread_id,
|
||||
turn_id: "turn_1".to_string(),
|
||||
turn_id: None,
|
||||
include_archived: true,
|
||||
cursor: None,
|
||||
page_size: 10,
|
||||
|
||||
Reference in new issue
Block a user