Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion src/agent.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,10 @@ async def my_agent(ctx: JobContext):
turn_detection=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"},
# 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
# See more at https://docs.livekit.io/agents/build/audio/#preemptive-generation
preemptive_generation={"enabled": True},
Expand Down
Loading