mirror of
https://github.com/openai/codex.git
synced 2026-04-30 09:26:44 +00:00
thread/list supports filtering by model providers
This commit is contained in:
@@ -247,6 +247,9 @@ pub struct ThreadListParams {
|
||||
pub limit: Option<i32>,
|
||||
/// Optional sort order; defaults to descending.
|
||||
pub order: Option<SortOrder>,
|
||||
/// Optional provider filter; when set, only sessions recorded under these
|
||||
/// providers are returned. When present but empty, includes all providers.
|
||||
pub model_providers: Option<Vec<String>>,
|
||||
}
|
||||
|
||||
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
|
||||
|
||||
Reference in New Issue
Block a user