Skip to content

Webchat: messages disappear momentarily when assistant sends text+toolCall #11139

@AkshayNavle

Description

@AkshayNavle

Description

When the assistant sends a response that includes both text and a tool call, messages in the webchat UI briefly disappear before reappearing. This creates a jarring user experience.

Steps to Reproduce

  1. Open webchat UI
  2. Send a message that triggers both a text response and a tool call
  3. Observe the chat history momentarily clearing

Root Cause (suspected)

Race condition in the webchat JS: the streaming response clears the message list before the history API response loads the persisted messages back.

Workaround

Local patch applied to webchat JS to prevent the clear during streaming.

Environment

  • Clawdbot version: 2026.1.24-3
  • Browser: Safari/Chrome
  • Platform: macOS

Notes

Originally reported via terminal, but the terminal issue may be separate. The webchat race condition is confirmed reproducible.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingstaleMarked as stale due to inactivity

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions