The open source coding agent.
TypeScript
ignore: tweak
Dax Raad081f100c93a3
diff --git a/packages/tui/internal/components/chat/messages.go b/packages/tui/internal/components/chat/messages.goindex a10c13a0f96..098a329ba7a 100644--- a/packages/tui/internal/components/chat/messages.go+++ b/packages/tui/internal/components/chat/messages.go@@ -368,7 +368,7 @@ func (m *messagesComponent) renderView() tea.Cmd {if reverted {continue}- if part.Text == "" {+ if strings.TrimSpace(part.Text) == "" {continue}hasTextPart = true