thread/list supports filtering by model providers

This commit is contained in:
Owen Lin
2025-11-02 12:04:15 -08:00
parent 6fbb3665a2
commit fbe3078c2f
3 changed files with 88 additions and 2 deletions

View File

@@ -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)]