From 1f3a275a0c316e30b4cad92fcecabdf1ab246942 Mon Sep 17 00:00:00 2001 From: Harshita Jain <77115160+harshitajain165@users.noreply.github.com> Date: Tue, 2 Jun 2026 01:28:20 +0530 Subject: [PATCH 1/4] docs(livekit-voice-agent): add word_timestamps opt-in comment to TTS example --- voice-agents/livekit-voice-agent/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/voice-agents/livekit-voice-agent/README.md b/voice-agents/livekit-voice-agent/README.md index ecb3831..d715611 100644 --- a/voice-agents/livekit-voice-agent/README.md +++ b/voice-agents/livekit-voice-agent/README.md @@ -106,6 +106,7 @@ tts=smallestai.TTS( model="lightning_v3.1_pro", voice_id="meher", language="en", + # word_timestamps=True, # opt in to per-word timing events (base-queue EN/HI voices) ) ``` From ddb1702eca0dc0ab7e675fabcfa7881069da859a Mon Sep 17 00:00:00 2001 From: Harshita Jain Date: Wed, 3 Jun 2026 15:00:35 +0530 Subject: [PATCH 2/4] fix(livekit-voice-agent): correct word_timestamps comment direction word_timestamps defaults to True so the comment should show how to disable it, not enable it. Opt-in framing was wrong. --- voice-agents/livekit-voice-agent/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice-agents/livekit-voice-agent/README.md b/voice-agents/livekit-voice-agent/README.md index d715611..e0fdec6 100644 --- a/voice-agents/livekit-voice-agent/README.md +++ b/voice-agents/livekit-voice-agent/README.md @@ -106,7 +106,7 @@ tts=smallestai.TTS( model="lightning_v3.1_pro", voice_id="meher", language="en", - # word_timestamps=True, # opt in to per-word timing events (base-queue EN/HI voices) + # word_timestamps=False, # disable per-word timing and fall back to whole-text frames ) ``` From 2379342c05b42d1fb8bd6bec0d5f5572a86bf6df Mon Sep 17 00:00:00 2001 From: Harshita Jain Date: Wed, 3 Jun 2026 15:11:47 +0530 Subject: [PATCH 3/4] fix(livekit-voice-agent): restore word_timestamps=True as opt-in comment --- voice-agents/livekit-voice-agent/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice-agents/livekit-voice-agent/README.md b/voice-agents/livekit-voice-agent/README.md index e0fdec6..d715611 100644 --- a/voice-agents/livekit-voice-agent/README.md +++ b/voice-agents/livekit-voice-agent/README.md @@ -106,7 +106,7 @@ tts=smallestai.TTS( model="lightning_v3.1_pro", voice_id="meher", language="en", - # word_timestamps=False, # disable per-word timing and fall back to whole-text frames + # word_timestamps=True, # opt in to per-word timing events (base-queue EN/HI voices) ) ``` From b57e2f63adc791f6109c72030b95b6a65d9e97d9 Mon Sep 17 00:00:00 2001 From: Harshita Jain Date: Wed, 3 Jun 2026 16:38:42 +0530 Subject: [PATCH 4/4] fix(livekit-voice-agent): replace stale CrewSession with AgentSession --- voice-agents/livekit-voice-agent/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/voice-agents/livekit-voice-agent/README.md b/voice-agents/livekit-voice-agent/README.md index d715611..96c8872 100644 --- a/voice-agents/livekit-voice-agent/README.md +++ b/voice-agents/livekit-voice-agent/README.md @@ -112,7 +112,7 @@ tts=smallestai.TTS( ### Interruption — Zero Custom Code -The `CrewSession` handles interruptions automatically. When Silero VAD detects you speaking mid-response, the TTS stream is cancelled and your speech is processed as a new turn. +The `AgentSession` handles interruptions automatically. When Silero VAD detects you speaking mid-response, the TTS stream is cancelled and your speech is processed as a new turn. ---