Add v2 thread/compact

This commit is contained in:
Ahmed Ibrahim
2026-02-02 13:47:54 -08:00
parent ae4eeff440
commit 9c01c75697
6 changed files with 191 additions and 0 deletions

View File

@@ -1449,6 +1449,13 @@ pub struct ThreadReadResponse {
pub thread: Thread,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadCompactParams {
pub thread_id: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]