Skip to content

Bound ChatModel growth in a long session #31

Description

@singular0

On-disk history is capped at History::MaxPerChannel (500) per channel, but the live ChatModel
grows without bound as messages arrive, so a session left running for days on a CM4 keeps every row
in memory.

Tasks:

  • Apply the same retention limit to the live model, or deliberately virtualize older rows.
  • Keep the bottom anchor and the unseen divider correct when rows are dropped from the top.

Related to #7, which reads the same rows.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area: uiWidgets, delegates, application wiringpriority: P3Latertech-debtStructural work on what already exists

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions