mirror of
https://github.com/sst/opencode.git
synced 2025-12-23 10:11:41 +00:00
fix: tui stuck saying generating... even when it is done (#2872)
This commit is contained in:
parent
bc9ff7e99f
commit
c398485213
1 changed files with 1 additions and 1 deletions
|
|
@ -664,7 +664,7 @@ func (m *messagesComponent) renderView() tea.Cmd {
|
|||
error = err.Data.Message
|
||||
}
|
||||
|
||||
if !hasContent && error == "" && !reverted {
|
||||
if !hasContent && error == "" && !reverted && casted.Time.Completed == 0 {
|
||||
content = renderText(
|
||||
m.app,
|
||||
message.Info,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue