Conversation
- Added session_id to default_keys to make it visible by default - Added session_id to Retrieve mode config to show it when mode is selected - Kept advanced=True as requested to maintain field categorization - Fixes issue where session_id input was hidden preventing dynamic session retrieval Fixes langflow-ai#9464
|
Caution Review failedThe pull request is closed. WalkthroughAdds extensive documentation and tooling under .claude/, multiple issue-response docs, and introduces cross-platform Genie statusline scripts/config. The only product code change updates MemoryComponent to expose session_id in defaults and in Retrieve mode fields, addressing UI visibility of session_id in Message History retrieval. Changes
Sequence Diagram(s)Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Assessment against linked issues
Assessment against linked issues: Out-of-scope changes
Possibly related PRs
Suggested labels
Suggested reviewers
Tip 🔌 Remote MCP (Model Context Protocol) integration is now available!Pro plan users can now connect to remote MCP servers from the Integrations page. Connect with popular remote MCPs such as Notion and Linear to add more context to your reviews and chats. 📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro 💡 Knowledge Base configuration:
You can enable these sources in your CodeRabbit configuration. 📒 Files selected for processing (59)
✨ Finishing Touches
🧪 Generate unit tests
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. CodeRabbit Commands (Invoked using PR/Issue comments)Type Other keywords and placeholders
Status, Documentation and Community
|
|



Summary
Fixes the UI bug where the
session_idinput field was hidden when the Message History component was in "Retrieve" mode, preventing users from dynamically setting the session ID for retrieving specific conversation history.Changes Made
session_idtodefault_keyslist to make it visible by defaultsession_idto theRetrievemode configuration inmode_configadvanced=Trueas requested to maintain proper field categorizationRoot Cause
The issue was caused by triple visibility control:
session_idwas missing frommode_config["Retrieve"]listsession_idwas missing fromdefault_keyslistadvanced=True(kept as requested)Test Plan
Fixes #9464
Technical Details
Files modified:
src/backend/base/langflow/components/helpers/memory.pysession_idtodefault_keyssession_idtoRetrievemode configThe fix ensures the session_id field is properly visible and functional when using the Message History component in Retrieve mode, allowing users to dynamically specify which conversation's messages to retrieve.
Summary by CodeRabbit
New Features
Documentation
Chores