Skip to content

fix(desktop): first message in new chat not sent — stays in input field - #67865

Closed
gauravsaxena1997 wants to merge 2 commits into
NousResearch:mainfrom
gauravsaxena1997:fix/hermes-desktop-startup-input
Closed

fix(desktop): first message in new chat not sent — stays in input field#67865
gauravsaxena1997 wants to merge 2 commits into
NousResearch:mainfrom
gauravsaxena1997:fix/hermes-desktop-startup-input

Conversation

@gauravsaxena1997

Copy link
Copy Markdown
Contributor

Fixes #63574. The first message in a new chat on Windows sometimes stays in the input field when Enter or Send is pressed, requiring a second press to actually send. This PR addresses the underlying state synchronization issue in the chat composer.

@alt-glitch alt-glitch added type/bug Something isn't working P3 Low — cosmetic, nice to have comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint comp/plugins Plugin system and bundled plugins platform/matrix Matrix adapter (E2EE) needs-decision Awaiting maintainer decision before any implementation labels Jul 20, 2026
@teknium1

Copy link
Copy Markdown
Contributor

Thanks for reporting the new-chat first-send failure. This is already fixed on current main by an automated hermes-sweeper review.

  • Commit 8c288760d0b50107e608ed42df81f48c7ccedde5 (fix(desktop): stop the submit drift guard from aborting every new chat) handles the legitimate session/route re-home during new-chat creation.
  • apps/desktop/src/app/session/hooks/use-prompt-actions/submit.ts:559 verifies the created session remains active, re-pins the submit context, and continues the send.
  • apps/desktop/src/app/session/hooks/use-prompt-actions/index.test.tsx:3472 regression-tests submission of the first prompt in a brand-new chat.
  • This PR's diff contains no Desktop composer or session-submit changes, so it does not add to the resolved report.

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

Labels

comp/agent Core agent runtime: loop, agent_init, prompt builder, context-compression, responses endpoint comp/plugins Plugin system and bundled plugins needs-decision Awaiting maintainer decision before any implementation P3 Low — cosmetic, nice to have platform/matrix Matrix adapter (E2EE) sweeper:implemented-on-main Sweeper: behavior already present on current main type/bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(desktop): First message in new chat not sent — stays in input field (Enter or Send button), second press works (Windows)

3 participants