add compact to app server

This commit is contained in:
Ahmed Ibrahim
2025-12-16 23:36:32 -08:00
parent ae3793eb5d
commit e8e327d0c8
7 changed files with 184 additions and 0 deletions

View File

@@ -1203,6 +1203,13 @@ pub struct TurnStartParams {
pub summary: Option<ReasoningSummary>,
}
#[derive(Serialize, Deserialize, Debug, Default, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct CompactStartParams {
pub thread_id: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]