feat(ui): display livePartial / transcript_delta in ChatBubble as 'Hearing:' indicator

- REST STT now sends delta (full text) so UI lights up immediately with what was heard.
- Works as 'live' for the final transcript (true partials would stream words if Realtime was available).
- Per PLAN item 3.
This commit is contained in:
2026-06-04 15:34:37 -04:00
parent 77cbd91b93
commit 771c00830a
3 changed files with 20 additions and 3 deletions
+2 -1
View File
@@ -28,6 +28,7 @@ export default function App() {
sendText,
startRecording,
stopRecording,
livePartial,
} = useConversation();
const [currentSceneId, setCurrentSceneId] = useState('cozy-room');
@@ -143,7 +144,7 @@ export default function App() {
{/* Column 3: Chat + Text Input */}
<div className="space-y-4">
<ChatBubble messages={messages} isKiraSpeaking={isKiraSpeaking} userName={userName} />
<ChatBubble messages={messages} isKiraSpeaking={isKiraSpeaking} userName={userName} livePartial={livePartial} />
{/* Text input fallback */}
<div className="glass-card p-3">