Description
This is a weird ux state bug I think, here is what happened:
- open up opencode, model is GLM 4.7 free
- decide to test the model
- go into plan mode, type up a plan - it tries to use the model but I see errors (something about high concurrency usage of this api, retrying, red text).
- I hit esc to interrupt, open up providers, go to opencode zen, grab an api key for zen (I wasn't authed on this machine). (I am still using the same model, I was just thinking that maybe with an api key and credits loaded I'd get some sort of priority or it'd use my credits, but that doesn't seem to be the case.)
- I do what I usually do, I
ctrl+x u to undo my plan message, and re-send it. I do this frequently if I typo, or if the model borks, or whatever. This is my normal workflow for "I want to retry the last action".
- I see two identical plan messages! I think, hmm, that's weird, that's not how that usually works.
- I wait a bit, the model starts to think. I see the thinking trace output streaming in.
- Suddenly, it shows "2 message reverted" (not a typo, the plural is missing) - what? My messages are gone, the model's brief thinking output is gone.
- The above is ALL I see in my session log, the busy spinner in the lower left is twiddling.
- I'm waiting. Eventually I see some concurrency warnings. Context usage is increasing, so, I'm guessing the model is busy actually doing work even though I can't see anything except for "2 message reverted"
- Eventually it stops. I still can't see anything!
- I open a new terminal, type opencode export. I can't see the session. (I guess it only shows up once I exit? I do an /export in the session instead)
Plugins
none
OpenCode version
1.1.28
Steps to reproduce
I tried to repro following my own steps above, and was unable to.
Screenshot and/or share link
The contents of the share link also looks wrong!
https://opncd.ai/share/WKRec63b
I attached the export as well, this one seems to have actually captured all the work the model did:
session-ses_4200.md
Operating System
Windows 11 25H2
Terminal
Windows Terminal
Description
This is a weird ux state bug I think, here is what happened:
ctrl+x uto undo my plan message, and re-send it. I do this frequently if I typo, or if the model borks, or whatever. This is my normal workflow for "I want to retry the last action".Plugins
none
OpenCode version
1.1.28
Steps to reproduce
I tried to repro following my own steps above, and was unable to.
Screenshot and/or share link
The contents of the share link also looks wrong!
https://opncd.ai/share/WKRec63b
I attached the export as well, this one seems to have actually captured all the work the model did:
session-ses_4200.md
Operating System
Windows 11 25H2
Terminal
Windows Terminal