Skip to content

fix first message no response#7

Merged
abhishekkrthakur merged 1 commit intomainfrom
race-condition-fix
Feb 2, 2026
Merged

fix first message no response#7
abhishekkrthakur merged 1 commit intomainfrom
race-condition-fix

Conversation

@abhishekkrthakur
Copy link
Collaborator

No description provided.

Copy link

Copilot AI left a comment

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 bug where the first message in a chat would not scroll the UI properly during the query generation phase. The issue was caused by an early continue statement that prevented execution from reaching the scroll logic.

Changes:

  • Refactored the "thinking" event handler to use a positive condition instead of an early continue statement
  • Ensures the scroll logic executes for all events, not just those during the answer phase

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

@abhishekkrthakur abhishekkrthakur merged commit 8903642 into main Feb 2, 2026
15 checks passed
@abhishekkrthakur abhishekkrthakur deleted the race-condition-fix branch February 2, 2026 07:30
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.

2 participants