From 67e7d1426cbd726289c8064d495c0b54e65e59c6 Mon Sep 17 00:00:00 2001 From: Conrad Irwin Date: Mon, 18 Aug 2025 23:13:49 -0600 Subject: [PATCH] WIP --- crates/agent2/src/db.rs | 3 ++- crates/agent2/src/thread.rs | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) 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, } }