From 8ce1b051634afa76bd6fa062efdd0169624de417 Mon Sep 17 00:00:00 2001 From: chana Date: Mon, 19 Oct 2026 13:45:15 -0700 Subject: [PATCH 1/4] Comment out adaptive interruption mode Self-hosted agents built from the starter opted in to a billed model without saying so. Cloud and dev mode still use adaptive by default. Co-Authored-By: Claude Opus 5.5 --- src/main.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/main.ts b/src/main.ts index c15cc25..5765c5b 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,7 +46,10 @@ export default defineAgent({ turnDetection: new inference.TurnDetector(), // Adaptive interruptions use the turn detector to tell a real interruption from a // backchannel like "mhm" or "right", so the agent keeps talking through the latter. - interruption: { mode: 'adaptive' }, + // It's on by default on LiveKit Cloud and in dev mode. To use it in a self-hosted agent + // in production, uncomment the following line. Self-hosted usage past the monthly allowance is billed. + // See https://docs.livekit.io/deploy/admin/quotas-and-limits/#adaptive-interruption-handling + // interruption: { mode: 'adaptive' }, // Allow the LLM to generate a response while waiting for the end of turn preemptiveGeneration: { enabled: true }, }, From 200131396c3a1d7503db58e6b12ce982b6b9764d Mon Sep 17 00:00:00 2001 From: chana Date: Mon, 19 Oct 2026 13:52:34 -0700 Subject: [PATCH 2/4] Clarify when to uncomment adaptive interruption mode Reorder the comment so the uncomment instruction sits above the line, and note in the README that adaptive interruption handling is on by default on LiveKit Cloud and in dev mode. Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- src/main.ts | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index f26c906..6f0e533 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The starter includes: - Many other models are available through the [plugin ecosystem](https://docs.livekit.io/agents/models/#plugins). - [Expressive mode](https://docs.livekit.io/agents/models/tts/expressive/), on by default, so your agent's voice carries emotion and pacing that fit the conversation. - [LiveKit Turn Detector](https://docs.livekit.io/agents/logic/turns/turn-detector/), which knows when the user has finished speaking, in 14 languages. -- [Adaptive interruption handling](https://docs.livekit.io/agents/logic/turns/adaptive-interruption-handling/), which tells a real interruption from an "uh-huh" or background noise, so your agent doesn't stop talking when it shouldn't. +- [Adaptive interruption handling](https://docs.livekit.io/agents/logic/turns/adaptive-interruption-handling/), on by default on LiveKit Cloud and in dev mode, which tells a real interruption from an "uh-huh" or background noise, so your agent doesn't stop talking when it shouldn't. - [Background voice cancellation](https://docs.livekit.io/transport/media/noise-cancellation/). - Session transcripts, traces, and recordings from LiveKit [Agent Observability](https://docs.livekit.io/testing/observability/). - [Simulations](https://docs.livekit.io/testing/simulations/) that test full conversations with your agent, run in CI on every merge to `main`. diff --git a/src/main.ts b/src/main.ts index 5765c5b..2fdf960 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,9 +46,9 @@ export default defineAgent({ turnDetection: new inference.TurnDetector(), // Adaptive interruptions use the turn detector to tell a real interruption from a // backchannel like "mhm" or "right", so the agent keeps talking through the latter. - // It's on by default on LiveKit Cloud and in dev mode. To use it in a self-hosted agent - // in production, uncomment the following line. Self-hosted usage past the monthly allowance is billed. - // See https://docs.livekit.io/deploy/admin/quotas-and-limits/#adaptive-interruption-handling + // This model is on by default on LiveKit Cloud and in dev mode. Self-hosted usage past the monthly + // allowance is billed. See https://docs.livekit.io/deploy/admin/quotas-and-limits/#adaptive-interruption-handling for more information. + // To use adaptive interruption handling outside LiveKit Cloud and dev mode, uncomment the next line. // interruption: { mode: 'adaptive' }, // Allow the LLM to generate a response while waiting for the end of turn preemptiveGeneration: { enabled: true }, From 238a1cfa0238da65ab1a3293588ff1327cde1a42 Mon Sep 17 00:00:00 2001 From: chana Date: Mon, 19 Oct 2026 13:54:50 -0700 Subject: [PATCH 3/4] Name the line to uncomment in the adaptive interruption comment Co-Authored-By: Claude Opus 5.5 --- src/main.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main.ts b/src/main.ts index 2fdf960..6a95721 100644 --- a/src/main.ts +++ b/src/main.ts @@ -46,9 +46,9 @@ export default defineAgent({ turnDetection: new inference.TurnDetector(), // Adaptive interruptions use the turn detector to tell a real interruption from a // backchannel like "mhm" or "right", so the agent keeps talking through the latter. - // This model is on by default on LiveKit Cloud and in dev mode. Self-hosted usage past the monthly - // allowance is billed. See https://docs.livekit.io/deploy/admin/quotas-and-limits/#adaptive-interruption-handling for more information. - // To use adaptive interruption handling outside LiveKit Cloud and dev mode, uncomment the next line. + // This model is on by default on LiveKit Cloud and in dev mode. To use the model elsewhere, + // uncomment the `interruption` line. Self-hosted usage past the monthly allowance is billed. + // See https://docs.livekit.io/deploy/admin/quotas-and-limits/#adaptive-interruption-handling for more information. // interruption: { mode: 'adaptive' }, // Allow the LLM to generate a response while waiting for the end of turn preemptiveGeneration: { enabled: true }, From 0d6d460287b04ac153b13ecebdcb121c5e34c844 Mon Sep 17 00:00:00 2001 From: chana Date: Mon, 19 Oct 2026 13:56:20 -0700 Subject: [PATCH 4/4] Restore the README feature bullet Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 6f0e533..f26c906 100644 --- a/README.md +++ b/README.md @@ -17,7 +17,7 @@ The starter includes: - Many other models are available through the [plugin ecosystem](https://docs.livekit.io/agents/models/#plugins). - [Expressive mode](https://docs.livekit.io/agents/models/tts/expressive/), on by default, so your agent's voice carries emotion and pacing that fit the conversation. - [LiveKit Turn Detector](https://docs.livekit.io/agents/logic/turns/turn-detector/), which knows when the user has finished speaking, in 14 languages. -- [Adaptive interruption handling](https://docs.livekit.io/agents/logic/turns/adaptive-interruption-handling/), on by default on LiveKit Cloud and in dev mode, which tells a real interruption from an "uh-huh" or background noise, so your agent doesn't stop talking when it shouldn't. +- [Adaptive interruption handling](https://docs.livekit.io/agents/logic/turns/adaptive-interruption-handling/), which tells a real interruption from an "uh-huh" or background noise, so your agent doesn't stop talking when it shouldn't. - [Background voice cancellation](https://docs.livekit.io/transport/media/noise-cancellation/). - Session transcripts, traces, and recordings from LiveKit [Agent Observability](https://docs.livekit.io/testing/observability/). - [Simulations](https://docs.livekit.io/testing/simulations/) that test full conversations with your agent, run in CI on every merge to `main`.