Phase 3: Build context from session_messages table
- get() always reads from session_messages, never falls back to JSON columns
- Load all rows in a single query, then split by is_display / is_context flags
- messages[] and context[] now share the same Python objects,
  enabling reliable id() matching in the agent compression path

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
1 parent 2d4109a commit 16ff51312e73e75982d4aef4d144dc8fed8f37b9
@Eugene Sukhodolskiy Eugene Sukhodolskiy authored on 25 May
Showing 1 changed file
View
navi/core/pg_session_store.py