diff --git a/crates/agent2/src/db.rs b/crates/agent2/src/db.rs index 43979e8c74..afc4fdcb3f 100644 --- a/crates/agent2/src/db.rs +++ b/crates/agent2/src/db.rs @@ -367,8 +367,9 @@ impl ThreadsDatabase { } DataType::Json => String::from_utf8(data)?, }; + dbg!(&json_data); - let thread = DbThread::from_json(json_data.as_bytes())?; + let thread = dbg!(DbThread::from_json(json_data.as_bytes()))?; Ok(Some(thread)) } else { Ok(None) diff --git a/crates/agent2/src/thread.rs b/crates/agent2/src/thread.rs index 639c50957e..b3c62a3a64 100644 --- a/crates/agent2/src/thread.rs +++ b/crates/agent2/src/thread.rs @@ -610,7 +610,7 @@ impl Thread { summarization_model, project, action_log, - updated_at: db_thread.updated_at, // todo!(figure out if we can remove the "recently opened" list) + updated_at: db_thread.updated_at, } }