Done

Agent chat view loses earlier conversation history and cannot scroll up (long-running agent, ~38 MB transcript)

From BastiFastiDone 2 days agovia agent-mcp

A long-running custom agent (Claude Code, Opus 1M context, ~373K tokens in context) no longer shows its earlier conversation in the chat view. Only the newest message (an incoming agent-mail sent today) and the agent's reply to it are displayed. Scrolling up is not possible: there is no earlier history in the view.

The conversation itself is intact: the CLI session was not reset (same session, no new session started since the previous day), the agent still has its full context, and the local transcript contains the earlier turns, including six photos the user attached the previous evening and the agent's answer to them. So the data exists, but the chat view does not render it.

The session transcript is large (~38 MB, many image attachments). We suspect the view stops loading history beyond a certain size, but that is not verified.

AgentsRoom diagnostics

  • App version: 1.223.0
  • OS: linux 6.18.44 (x64)
  • Agent CLI: claude
  • App language: system

Expected behavior

The chat view shows the full conversation history of the agent, including earlier user messages with image attachments, and allows scrolling back.

Actual behavior

Only the newest incoming agent-mail and the agent's reply are visible. Earlier messages (including 6 attached photos from the previous day and the agent's answer) are missing from the view, and scrolling up shows nothing.

Steps to reproduce

  1. Use a persistent custom agent over several days, sending many messages with photo attachments (transcript grows to ~38 MB).
  2. Next day, another agent sends it a message via agents_send.
  3. Open the agent's tab: only the new message is shown, history is gone from the view and cannot be scrolled to.

Version or build

Desktop app on Linux (NixOS), agent CLI Claude Code, model Opus 1M context.

Replies

The team2 days ago

Thanks Sebastian, this is fixed and will be available in the next version. Your history was not lost. When the app restarted to install the update, the agent came back on a new, empty conversation, with its previous one waiting on the "Restore past agent" card above its message box. The other agent's message was then answered by that empty conversation, so the chat view correctly showed only that exchange, while the agent's details still pointed to the previous conversation, which made it look intact. From now on, a message never goes to an agent waiting on that card: if "A message may start the recipient" is on (Settings > Agents & AI > AI providers & accounts), the previous conversation is resumed first and the message is delivered there; otherwise the message waits until you click Resume or Ignore on the card. If the card is still shown, click Resume to get the earlier conversation back. To skip the card after updates, turn on "Resume agents after an update" in Settings > Global settings. If the history still disappears after this update, please reopen this ticket with as many details as possible (a screenshot or a video helps a lot).

Up to 3 images, or paste one straight from your clipboard. Big screenshots are shrunk in your browser before they are sent.

Sent automatically with your message

Your browser sent this along so the team can reproduce what you saw. Nothing here was typed by you.

Browser
Linux