WIP
This commit is contained in:
parent
3b7ad6236d
commit
67e7d1426c
2 changed files with 3 additions and 2 deletions
|
@ -367,8 +367,9 @@ impl ThreadsDatabase {
|
||||||
}
|
}
|
||||||
DataType::Json => String::from_utf8(data)?,
|
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))
|
Ok(Some(thread))
|
||||||
} else {
|
} else {
|
||||||
Ok(None)
|
Ok(None)
|
||||||
|
|
|
@ -610,7 +610,7 @@ impl Thread {
|
||||||
summarization_model,
|
summarization_model,
|
||||||
project,
|
project,
|
||||||
action_log,
|
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,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue