# Lab 3 — tune turn detection

> Deepgram workshops › Deepgram Voice Agent workshop — easy mode › Lab 3 — tune turn detection
> Web version: https://workshops.deepgram.com/voice-agent-in-browser/turn-detection
> About 4 min.

### Move the turn-detection dials {#move-the-dials}

**Goal:** See the trade-off between a snappy agent and one that lets you finish a sentence.

Turn detection is how the agent decides you've finished talking. It happens inside Deepgram Flux STT, our conversational speech-to-text model, not in a timer on the client, and you can tune it. The Voice Agent panel doesn't show those dials, so take a short side trip to see them directly:

1. Open the **Streaming speech-to-text** playground and choose the turn-based streaming mode with the `flux-general-en` model.
2. Click **Start listening** and talk. Watch the events: `StartOfTurn`, `EagerEndOfTurn`, `TurnResumed`, `EndOfTurn`, each with a confidence score.
3. Find these three settings and move them:

| Setting | What it does | Default |
|---|---|---|
| **End of Turn Threshold** | How confident the model must be that you've finished before it fires `EndOfTurn`. Lower (0.5) answers faster and risks cutting you off. Higher (0.9) waits for certainty. | 0.7 |
| **End of Turn Timeout** | Ends the turn after this much silence regardless of confidence. | 5000 ms |
| **Eager End of Turn Threshold** | A lower bar that fires an early "probably done" signal, so an agent can start drafting a reply speculatively. Must be at or below the End of Turn Threshold. | — |

Try 0.5, then 0.9, saying the same halting sentence both times: *"I'd like to order a… uh… large coffee."*

No value is correct in the abstract. A drive-through agent wants speed. An agent taking a credit card number over the phone wants patience. You're choosing which mistake to make.

**You should see:** at 0.5, the model calls the turn during your "uh." At 0.9, it waits you out, and the reply arrives noticeably later. If both runs look the same, check that you moved **End of Turn Threshold**.
