chore(app-server): mark thread/rollback as deprecated (#29928)

We will drop support for this in the near future due to the complexity
it introduces.
This commit is contained in:
Owen Lin
2026-06-25 17:15:46 +00:00
committed by GitHub
parent c38b2e9ba6
commit 268328001f
10 changed files with 46 additions and 1 deletions
@@ -1025,6 +1025,7 @@ pub struct ThreadBackgroundTerminalsTerminateResponse {
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
/// DEPRECATED: `thread/rollback` will be removed soon.
pub struct ThreadRollbackParams {
pub thread_id: String,
/// The number of turns to drop from the end of the thread. Must be >= 1.