-
Notifications
You must be signed in to change notification settings - Fork 12.6k
Description
Description
When restarting OpenCode with an unanswered question in the session, reopening the same session no longer shows that question in the UI (both GUI and TUI). I can still see in the context that the last message was a question, but the visible conversation omits it, so I cannot continue answering it directly.
Expected behavior:
The unanswered question should still be visible in the conversation UI so I can answer it and continue the tool flow.
Actual behavior:
The last question is present in the context, but it is not rendered in the UI/TUI, so I cannot answer it and must send a new prompt referencing the original question.
Why it matters:
For GitHub Copilot, answering via the question tool does not consume a premium request, but sending a new prompt does, so this bug forces unnecessary extra premium usage.
Plugins
none
OpenCode version
v1.2.14
Steps to reproduce
- Create a new session, use a prompt like: "Ask me a question using question tool"
- Restart opencode without answering the question
- Go back to the same session
Screenshot and/or share link
You can see that the question is there, just not shown by OpenCode:

Operating System
Windows 11
Terminal
Windows Terminal