Skip to content

fix(memory): honor custom table names in AdvancedSQLiteSession#2694

Merged
seratch merged 2 commits intomainfrom
fix/advanced-sqlite-custom-table-names
Mar 18, 2026
Merged

fix(memory): honor custom table names in AdvancedSQLiteSession#2694
seratch merged 2 commits intomainfrom
fix/advanced-sqlite-custom-table-names

Conversation

@seratch
Copy link
Member

@seratch seratch commented Mar 17, 2026

This pull request fixes AdvancedSQLiteSession so it consistently respects configured sessions_table and messages_table names. The previous implementation inherited custom table-name support from SQLiteSession but still hardcoded agent_messages and agent_sessions in schema foreign keys and several branch/query paths, which caused failures such as no such table: agent_messages when custom names were used. This change updates those schema definitions and queries to use the configured tables and adds regression coverage for retrieval, turn browsing, content search, branch creation, and schema foreign-key metadata.

for context: #2692 (comment)

@seratch seratch added this to the 0.14.x milestone Mar 17, 2026
@github-actions github-actions bot added the bug Something isn't working label Mar 17, 2026
@seratch seratch modified the milestones: 0.14.x, 0.12.x Mar 17, 2026
@seratch seratch merged commit f29a658 into main Mar 18, 2026
9 checks passed
@seratch seratch deleted the fix/advanced-sqlite-custom-table-names branch March 18, 2026 01:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working feature:sessions

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant