fix: strip leading whitespace from assistant text to prevent empty/padded messages
Models sometimes emit text-delta events with leading newlines or whitespace-only content. This caused: - Empty-looking assistant messages (just the ◆ glyph) - Excessive leading whitespace after the reply glyph Changes: - stream-render-content: trimStart() the first text delta when opening a new text block; skip if result is empty - stream-render: use content.hasOpenContent() instead of raw delta truthiness for renderedVisibleOutput tracking
xonecas2026-03-16
80042053f09d8371968a5faa7f946a58a4185303
parent ac0f2c7