Skip to content

[BUG] 0.9.7 UI: new chat hangs on "Thinking…"#2010

Open
peterj wants to merge 1 commit into
mainfrom
peterj/fixthinkingui
Open

[BUG] 0.9.7 UI: new chat hangs on "Thinking…"#2010
peterj wants to merge 1 commit into
mainfrom
peterj/fixthinkingui

Conversation

@peterj

@peterj peterj commented Jun 13, 2026

Copy link
Copy Markdown
Collaborator

Fixes #2009

Fixes #2009

Signed-off-by: Peter Jausovec <peter.jausovec@solo.io>
Copilot AI review requested due to automatic review settings June 13, 2026 02:24
@chromatic-com

chromatic-com Bot commented Jun 13, 2026

Copy link
Copy Markdown

Warning

Testing paused

Monthly snapshot limit reached. Update your plan for additional snapshots and to resume testing.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a UI regression where sending the first message in a newly created chat could hang on “Thinking…” by preventing an immediate, redundant session “rename” POST that can occur before React session state has re-rendered.

Changes:

  • Track whether a session was created during the current handleSendMessage invocation.
  • Skip the “rename session title” request when the session was just created (title already set at creation time).

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[BUG] 0.9.7 UI: new chat hangs on "Thinking…"

2 participants