fix: tui stuck saying generating... even when it is done (#2872)
Some checks are pending
deploy / deploy (push) Waiting to run
format / format (push) Waiting to run
snapshot / publish (push) Waiting to run
test / test (push) Waiting to run

This commit is contained in:
Aiden Cline 2025-09-29 23:55:47 -05:00 committed by GitHub
parent bc9ff7e99f
commit c398485213
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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,