[BUG]: last submitted prompt comes back into input on refresh (web/app) #7590

Open
opened 2026-02-16 18:07:40 -05:00 by yindo · 2 comments
Owner

Originally created by @DNGriffin on GitHub (Jan 25, 2026).

Originally assigned to: @adamdotdevin on GitHub.

Description

When you refresh web session while agent is running, your last submitted chat is loaded into the prompt input.

I ran into this on my phone because it refreshes a lot when switching between apps.

Seeing your last input is jarring because you question: "did I send it?"

Plugins

No response

OpenCode version

OpenCode Desktop v1.1.36

Steps to reproduce

  1. Send message
  2. Refresh immediately
  3. Observe chat back into prompt input

https://github.com/user-attachments/assets/ba703c1b-766b-46fd-a8e6-fd1b906d24e6

Screenshot and/or share link

No response

Operating System

Reproed it on Mac and iOS

Terminal

n/a

Originally created by @DNGriffin on GitHub (Jan 25, 2026). Originally assigned to: @adamdotdevin on GitHub. ### Description When you refresh web session while agent is running, your last submitted chat is loaded into the prompt input. I ran into this on my phone because it refreshes a lot when switching between apps. Seeing your last input is jarring because you question: "did I send it?" ### Plugins _No response_ ### OpenCode version OpenCode Desktop v1.1.36 ### Steps to reproduce 1. Send message 2. Refresh immediately 3. Observe chat back into prompt input https://github.com/user-attachments/assets/ba703c1b-766b-46fd-a8e6-fd1b906d24e6 ### Screenshot and/or share link _No response_ ### Operating System Reproed it on Mac and iOS ### Terminal n/a
yindo added the bugweb labels 2026-02-16 18:07:40 -05:00
Author
Owner

@Yashxp1 commented on GitHub (Jan 26, 2026):

I just tested this on windows and also tried it both locally and in production. It’s working fine now, so I believe the issue has been resolved.

@Yashxp1 commented on GitHub (Jan 26, 2026): I just tested this on windows and also tried it both locally and in production. It’s working fine now, so I believe the issue has been resolved.
Author
Owner

@DNGriffin commented on GitHub (Jan 26, 2026):

I just tested this on windows and also tried it both locally and in production. It’s working fine now, so I believe the issue has been resolved.

https://github.com/user-attachments/assets/aec8e1f3-7822-4b25-8fc3-02d632c4c26d

just reproed it on v1.1.36

@DNGriffin commented on GitHub (Jan 26, 2026): > I just tested this on windows and also tried it both locally and in production. It’s working fine now, so I believe the issue has been resolved. https://github.com/user-attachments/assets/aec8e1f3-7822-4b25-8fc3-02d632c4c26d just reproed it on v1.1.36
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#7590