@@ -645,6 +645,9 @@ func earlyState(header string, v *toolCallCmp) (string, bool) {
645645
646646func joinHeaderBody(header, body string) string {
647647 t := styles.CurrentTheme()
648+ if body == "" {
649+ return header
650+ }
648651 body = t.S().Base.PaddingLeft(2).Render(body)
649652 return lipgloss.JoinVertical(lipgloss.Left, header, "", body, "")
650653}