Skip to content

Bug: Incomplete message rendering during live stream (corrects on refresh) #153

@xavierliang

Description

@xavierliang

Description:

First, I want to say this is a fantastic and incredibly useful project. Thank you for creating it!

I've encountered a bug where characters are missing from the AI's response as it's being streamed to the chat UI. The front-end rendering itself is smooth, with no flickering or layout shifts.

Crucially, if I refresh the page after the stream is complete, the message is displayed correctly with no missing characters.

Steps to Reproduce:

Start a chat session with the AI.

Provide a prompt that will generate a long, continuous stream of text.

Observe the AI's response as it streams into the chat window. You will notice missing characters.

Once the stream is finished, refresh the web page.

Observe the same message again. It will now be complete and correct.

Current Behavior:

During the live stream, the AI's response is rendered with missing characters. After a page refresh, the same message is rendered completely.

Expected Behavior:

The AI's response should be rendered completely and accurately during the live stream, matching the final version that appears after a refresh.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions