eb753582c1cc39830df51cb281bff37906c55d21
Implemented a per‑message collapse state that hides long user messages (>30 lines) with a “Show entire message / Collapse” button. • Added collapsedUserMsgs map and helper collapseKeyFor to generate stable keys. • Initialized or updated the collapse map whenever chat sessions or the active session change, preserving user toggles. • Provided toggleUserMsgCollapse to switch the collapsed state. • Updated the JSX to render the truncated content with an ellipsis when collapsed and render the expand/collapse button. • Adjusted CSS for the new expand button: changed color to var(--muted), added align-self: flex-start, removed stray left margin, and retained bold, pointer cursor, and left‑aligned text. • Minor style tweaks for the button hover effect.
Description
A local Retrieval-Augmented Generation (RAG) system designed to process documents entirely offline. Heimgeist provides secure, private AI insights using your own data without cloud dependencies.
Languages
Python
63.3%
JavaScript
27%
CSS
4.9%
Rust
2.7%
Shell
2.1%