Add session-memory module: Spring AI 2.1 Session API (event log, turn-aware windows, compaction with summarizer, SessionAdvisors, JDBC on PostgreSQL 16) with 14 transcripts and the 2.0 ChatMemory deprecation warnings from javac. Spring Boot 4.1.1, Spring AI 2.1.0, Java 25.
Co-Authored-By: Claude Sonnet 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_017ic4b6jDW7zqoKDMTRrCyq
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
# timeToLive and deleteExpiredSessions
|
||||
|
||||
Two hours from now, 'short' (ttl 1h) is past its expiresAt; 'long' (ttl 30d) is not.
|
||||
Before the cleaner: findById(short) = present, events = 2
|
||||
deleteExpiredSessions(now + 2h) removed 1 session(s)
|
||||
After: findById(short) = null, findById(long) = present
|
||||
Reference in New Issue
Block a user