This repository was archived by the owner on Mar 8, 2026. It is now read-only.
v0.4.3
🧩 Add page_id Support to Conversations + Page Context Service
Summary
This PR introduces support for associating conversations with specific pages via a new page_id field, along with frontend and backend enhancements for context-aware conversation management.
🔧 Backend Changes
- Added
page_idcolumn toconversationstable (with indexes) - Updated
ChatCompletionRequest,TextGenerationRequest, andConversationBaseschemas - API support for filtering, creating, and updating conversations by
page_id - Alembic migration:
add_page_id_to_conversations.py
🧠 Frontend Changes
- New
PageContextServiceto track and share current page metadata (pageId,pageName, etc.) DynamicPageRenderersets page context on load- Registered service globally via
App.tsx