Explorar el Código

ignore: tweak

Dax Raad hace 1 año
padre
commit
081f100c93
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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