I tried hosting SurfSense locally with local LLM models. There were too many issues, mostly caused by hard-coded or incorrect URL configurations. Pi Agent helped me fix some of them, but then the system became too slow. Processing a single markdown file takes a very long time.
Another problem is the chunking strategy. The chunks are too short and sometimes even split in the middle of words.