Skip to content

[Bug] ChatUI: first message of a new session flickers in the sidebar conversation list and disappears after the AI finishes #9567

Description

@wcqqq1214

Description

In ChatUI (the built-in Dashboard Webchat), when starting a new conversation inside a project and sending its first message, the current session briefly appears in the sidebar "conversation" section (below the projects) while the AI is loading. As soon as the AI finishes generating, that entry disappears from the "conversation" section — the session is then only visible under its project.

This only happens for the first message of a session; subsequent messages in the same session do not trigger it.

Screenshot 1: current session appears in the conversation list while AI is loading

Image

Screenshot 2: the session disappears from the conversation list after AI finishes

Image

Reproduction Steps

  1. Open the Dashboard and go to ChatUI (/chat).
  2. Select a project in the left sidebar (ProjectList).
  3. Type and send the first message of a new session.
  4. While the AI is loading, check the "conversation" section of the sidebar: the current session is listed there.
  5. After the AI finishes outputting, the entry disappears from the "conversation" section; the session is only shown inside its project.

AstrBot Version

4.27.2

Operating System

MacOS

Deployment Method

Local source install; also reproduced in Docker.

Message Platform Adapter

Built-in Webchat (Dashboard ChatUI), no third-party adapter

Error Log

No error logs — this is a frontend-only rendering issue and the backend processes the message normally.

Supplementary Information

No response

Checklist

  • I have searched the Issue list for related issues and could not resolve the problem, or this issue has never been reported before.
  • I have tried disabling all plugins to rule out issues caused by plugins.
  • The issue I am reporting is related to AstrBot itself, not to a specific plugin.
  • I have read and agree to the project's Code of Conduct.
  • (Optional) I am willing to submit a PR to help fix this issue.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:webuiThe bug / feature is about webui(dashboard) of astrbot.bugSomething isn't workingfeature:chatuiThe bug / feature is about astrbot's chatui, webchat

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions