WIP

Conrad Irwin created

Change summary

crates/agent2/src/db.rs     | 3 ++-
crates/agent2/src/thread.rs | 2 +-
2 files changed, 3 insertions(+), 2 deletions(-)

Detailed changes

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)

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,
         }
     }