remove turn on Thread object for now, it's not populated yet

This commit is contained in:
Owen Lin
2025-11-03 15:00:00 -08:00
parent dcab045cf6
commit 27fcbf9a24
2 changed files with 0 additions and 4 deletions

View File

@@ -329,7 +329,6 @@ pub struct ThreadCompactResponse {}
#[ts(export_to = "v2/")]
pub struct Thread {
pub id: String,
pub turn: Vec<Turn>,
}
#[derive(Serialize, Deserialize, Debug, Clone, PartialEq, JsonSchema, TS)]

View File

@@ -948,7 +948,6 @@ impl CodexMessageProcessor {
Ok(new_conv) => {
let thread = Thread {
id: new_conv.conversation_id.to_string(),
turn: Vec::<Turn>::new(),
};
// Send response first to complete the RPC.
@@ -1306,7 +1305,6 @@ impl CodexMessageProcessor {
.into_iter()
.map(|s| Thread {
id: s.conversation_id.to_string(),
turn: Vec::<Turn>::new(),
})
.collect();
@@ -1402,7 +1400,6 @@ impl CodexMessageProcessor {
let response = ThreadResumeResponse {
thread: Thread {
id: conversation_id.to_string(),
turn: Vec::<Turn>::new(),
},
};
self.outgoing.send_response(request_id, response).await;