Browse Source

ignore: tweak

Dax Raad 6 months ago
parent
commit
081f100c93
1 changed files with 1 additions and 1 deletions
  1. 1 1
      packages/tui/internal/components/chat/messages.go

+ 1 - 1
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