app: pagination / lazy loading for listing past chats #8596

Open
opened 2025-11-12 14:46:51 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @jmorganca on GitHub (Nov 4, 2025).

What is the issue?

The "Past Chats" view currently pulls the entire chat history in a single request and stores it in memory. When a user has hundreds or thousands of chats, the initial load takes noticeably longer (≈ 30 ms per additional chat) and the UI becomes sluggish as the list is rendered. Implementing pagination or lazy‑loading of older chats may dramatically improve start‑up time and scrolling performance.

Relevant log output


OS

No response

GPU

No response

CPU

No response

Ollama version

No response

Originally created by @jmorganca on GitHub (Nov 4, 2025). ### What is the issue? The "Past Chats" view currently pulls the entire chat history in a single request and stores it in memory. When a user has hundreds or thousands of chats, the initial load takes noticeably longer (≈ 30 ms per additional chat) and the UI becomes sluggish as the list is rendered. Implementing pagination or lazy‑loading of older chats may dramatically improve start‑up time and scrolling performance. ### Relevant log output ```shell ``` ### OS _No response_ ### GPU _No response_ ### CPU _No response_ ### Ollama version _No response_
GiteaMirror added the bugapp labels 2025-11-12 14:46:51 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/ollama-ollama#8596