Skip to content

Commit 9da7f2a

Browse files
committed
fix chat not sending sometimes
1 parent 911129c commit 9da7f2a

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

app/assistant/ui/ChatLog.tsx

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,6 @@ export default function ChatLog({
3030

3131
const renderItemTemplate: (localParticipantIdentity: string) => ListRenderItem<Transcription> = (localParticipantIdentity: string) => ({item}) => {
3232
const isLocalUser = item.identity === localParticipantIdentity
33-
console.log(item.segment.text);
3433
if (isLocalUser) {
3534
return (
3635
<UserTranscriptionText text={item.segment.text} />

hooks/useDataStreamTranscriptions.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ export default function useDataStreamTranscriptions(): TranscriptionsState {
5959
destinationIdentities: [agentIdentity],
6060
});
6161
}
62-
}, [mergeTranscriptions]);
62+
}, [mergeTranscriptions, agentIdentity]);
6363

6464
useEffect(() => {
6565
room.registerTextStreamHandler("lk.transcription", (

0 commit comments

Comments
 (0)