Skip to content

v3.1.7

Choose a tag to compare

@brunocurado brunocurado released this 16 Jun 20:21
· 9 commits to main since this release

πŸ› Bug Fix: Messages Disappearing During Thinking/Tool-Calling

Problem: When the conversation had several messages and the model entered thinking mode or tool-calling, the chat interface would appear empty. Users had to scroll up to see the messages.

Root Cause: The LazyVStack was limiting visible messages to 20. When the model entered thinking mode, a new message with expanded reasoning would push previous messages out of view, making the chat appear empty.

Fix:

  • Increased initial visibleMessageCount from 20 to 100
  • "Load earlier messages" button now loads 50 at a time (was 20)
  • Added retry mechanism to scrollToBottom (100ms delay) to handle async layout changes during reasoning expansion and tool results
  • Reset visibleMessageCount to 100 on thread switch (was 20)

Changes:

  • Views/Chat/ChatView.swift β€” Better message visibility and scroll handling
  • Bump version to 3.1.7