style(memory): minimize summary diff churn

This commit is contained in:
chengyongru
2026-08-19 18:40:20 +08:00
committed by chengyongru
parent b162019271
commit 87fb090d22
5 changed files with 8 additions and 32 deletions
+1 -4
View File
@@ -121,10 +121,7 @@ def test_session_summary_replaces_matching_recent_history_entry(tmp_path) -> Non
builder.memory.append_history("another session event", session_key=session_key)
summary_cursor = builder.memory.append_history(overview, session_key=session_key)
summary = SessionSummary(
text=overview,
last_active=real_datetime(2026, 8, 19, 10, 0),
)
summary = SessionSummary(overview, real_datetime(2026, 8, 19, 10, 0))
prompt = builder.build_system_prompt(
session_key=session_key,