use thread id

This commit is contained in:
Owen Lin
2025-11-02 14:05:42 -08:00
parent 644f53a4a4
commit 698c6bd1de
4 changed files with 7 additions and 7 deletions

View File

@@ -252,7 +252,7 @@ pub struct FeedbackUploadResponse {
// Thread APIs
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, Default, JsonSchema, TS)]
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadStartParams {
@@ -280,7 +280,7 @@ pub struct ThreadStartResponse {
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadResumeParams {
pub thread: Thread,
pub thread_id: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]
@@ -294,7 +294,7 @@ pub struct ThreadResumeResponse {
#[serde(rename_all = "camelCase")]
#[ts(export_to = "v2/")]
pub struct ThreadArchiveParams {
pub thread: Thread,
pub thread_id: String,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]