Skip to content

Improve streaming indicators and file attachments during agent actions

Choose a tag to compare

@damianvtran damianvtran released this 07 Sep 03:57
· 11 commits to main since this release
b396d26

What's New

This release addresses several bugs and introduces improvements related to real-time message streaming, specifically for messages containing file attachments.

  • Live File Attachments: File attachments (images, videos, audio, etc.) now appear in the UI as the message is streaming, providing immediate feedback to the user.
  • More Accurate Streaming Indicator: The logic for displaying the "streaming" animation has been simplified and made more reliable, directly tied to the backend job status. This prevents the indicator from getting stuck or disappearing prematurely.
  • Improved Message Visibility: The rules for hiding messages have been refined. Short, operational messages from the agent (like READ actions) will no longer be hidden when they are complete, giving the user better insight into the agent's process.
  • Robust Streaming State: The overall management of the streaming state has been improved by using a dedicated store (useStreamingMessagesStore), making the UI more stable and less prone to race conditions.

Impact

  • No Breaking Changes: These changes are non-breaking and focus on improving existing functionality.
  • Enhanced User Experience: The live display of attachments and more accurate streaming indicators significantly improve the real-time interaction experience with the agent.

PRs

Full Changelog: v0.12.5...v0.12.6