add life_log, memory_slots updated_at, enhanced reflection and system prompt

This commit is contained in:
Fam Zheng
2026-04-10 21:09:04 +01:00
parent c1fd2829dd
commit b093b96a46
4 changed files with 68 additions and 18 deletions

View File

@@ -344,8 +344,8 @@ async fn handle_inner(
if memory_slots.is_empty() {
diag.push_str("(empty)\n\n");
} else {
for (nr, content) in &memory_slots {
diag.push_str(&format!("- `[{nr}]` {content}\n"));
for (nr, content, updated_at) in &memory_slots {
diag.push_str(&format!("- `[{nr}]` {content} ({updated_at})\n"));
}
diag.push('\n');
}