[Widget] Show first message in text mode for Text & Voice agents - #970
Conversation
PR SummaryLow Risk Overview The local copy also shows first-message rich content (e.g. greeting buttons) and strips TTS audio tags when Reviewed by Cursor Bugbot for commit 3d81426. Bugbot is set up for automated code reviews on this repo. Configure here. |
4d615ee to
d933657
Compare
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes using default effort and found 1 potential issue.
❌ Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, have a team admin enable autofix in the Cursor dashboard.
Reviewed by Cursor Bugbot for commit d933657. Configure here.
87b04e4 to
ea67b9b
Compare
Co-authored-by: Kamil K <kamilk@elevenlabs.io>
28f29eb to
3d81426
Compare

Summary
Fixes ACF-55
Slack thread
conversation.tsxdrops the first message for any text conversation that has afirst_messageconfigured, since it arrives after the user's opening message and would render out of order.Sheetcompensated by rendering it locally — but only for agents configured text-only, so Text & Voice agents got neither copy.Sheetnow renders the local copy for any agent that supports text mode and has the text input enabled: as a preview before connecting, and through a text conversation. Voice conversations are untouched.Behavior (text input turned on, transcript off)
Before no first message when opening the widget via the chat button

After first message shows, ability to switch to voice
