[Bug]: Insights tab stops polling after 4 minutes and never shows the finished insight

Author: chris-opendataCreated Aug 16, 2026Updated Sep 5, 2026
Labelsbugreadyarea: ui

Is this a reproducible bug?

  • I confirm this is a reproducible bug, not a feature request, idea, question, or contribution proposal.

What did you do when it broke?

With Ollama local Gemma4:12b and Open Notebook on Mac M5 Pro 24GB,

  1. opened a 45-page article from "All Sources" panel.
  2. on the opened article panel, switched to "Insights" tab page.
  3. selected "Paper Analysis" from "Generate New Insight".
  4. clicked "New" to start (indicated by a pop message).
  5. observed the stats app's GPU indicator @99% shown in the Mac's menu bar (top right).
  6. paper analysis was never shown to complete, even after a hour.
  7. clicked "Back to Sources" to go back "All Sources" to stop.
  8. observed the GPU indicator going down to 0% after ~10 seconds.
  9. clicked the article to go to the opened article panel again.
  10. clicked "Insights" to switch to the tab page.
  11. "Paper Analysis" card was shown.
  12. clicked "View Insight" to see the completed analysis.

How did it break?

Expected: Paper Analysis card should be shown in Insights without a need to go back to "All Sources" to forcefully stop first. Actual: Need to go back to "All Sources" to forcefully stop first.

Logs or Screenshots

No response

Open Notebook Version

v1-latest (Docker)

Environment

  • OS: Mac M5 Pro 24GB
  • Browser: Edge version 151.0.4129.86
  • Ollama version: 0.32.13
  • Model: gemma4:12b (local)
  • Ollama configuration:
OLLAMA_KEEP_ALIVE=8h
OLLAMA_NUM_PARALLEL=1
OLLAMA_MAX_LOADED_MODELS=1
OLLAMA_CONTEXT_LENGTH=16384

Additional Context

  • It might be a communication issue between Ollama and Open Notebook.
  • The issue also occurred to "Key Insights" and "Chat with Sources" features as tried.

Contribution

  • I am a developer and would like to work on fixing this issue (pending maintainer approval)