7b4a699e2d85ca58dd7888c4fc1f25a7eaa1bf3d
Implemented robust streaming handling for assistant replies: a placeholder message is inserted, unread sessions are flagged when the user is in a different chat, and scroll‑to‑bottom/ tip logic is applied once the stream completes. • Added copy‑to‑clipboard support for code blocks with visual feedback. • Re‑implemented Markdown to clean trailing whitespace in code blocks, preserve formatting, add copy buttons, and refine table & blockquote handling. • Introduced new CSS classes (.codeblock, .codeblock__header, .codeblock__copy, etc.) to style the code block wrapper, header bar, copy button, and pre/code area. • Updated the front‑end to wire up the new copy handler, manage pending scroll targets, and keep unread state in sync. • Minor cleanup of stray tags and comments throughout the renderer. • Minor fixes to ensure proper scrolling behavior when the user scrolls away from the bottom during streaming. • Added descriptive comments and ensured cross‑browser copy functionality via navigator.clipboard. • Updated the markdown renderer to keep raw newlines for copy‑paste fidelity and to escape HTML entities correctly. • Adjusted CSS to match existing theme variables and provide smooth copy button transitions.
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%