khoj-ai / khoj

Your AI second brain. Get answers to your questions, whether they be online or in your own notes. Use online AI models (e.g gpt4) or private, local LLMs (e.g llama3). Self-host locally or use our cloud instance. Access from Obsidian, Emacs, Desktop app, Web or Whatsapp.
https://khoj.dev
GNU Affero General Public License v3.0
12.63k stars 640 forks source link

Improve Chat Page Load Perf, Offline Chat Perf and Miscellaneous Fixes #703

Closed debanjum closed 5 months ago

debanjum commented 5 months ago

Store Generated Images as WebP

Lazy Fetch Chat Messages to Improve Time, Data to First Render

This is especially helpful for long conversations with lots of images

Intelligently set Context Window of Offline Chat to Improve Performance

Fixes

Miscellaneous Improvements