Skip to content

Replace deprecated session options with turnHandling#52

Open
u9g wants to merge 1 commit into
mainfrom
migrate-turn-handling-options
Open

Replace deprecated session options with turnHandling#52
u9g wants to merge 1 commit into
mainfrom
migrate-turn-handling-options

Conversation

@u9g

@u9g u9g commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

The top-level turnDetection option and voiceOptions.preemptiveGeneration are deprecated in favor of the turnHandling options object on AgentSession.

This updates src/main.ts to use the new API:

  • turnDetectionturnHandling.turnDetection
  • voiceOptions.preemptiveGeneration: trueturnHandling.preemptiveGeneration: { enabled: true }

No behavior change.

@u9g u9g force-pushed the migrate-turn-handling-options branch 2 times, most recently from 0318882 to d47051b Compare June 12, 2026 15:38
Migrate `turnDetection` and `voiceOptions.preemptiveGeneration` to the
new `turnHandling` options object on AgentSession.
@u9g u9g force-pushed the migrate-turn-handling-options branch from d47051b to f2d1213 Compare June 12, 2026 15:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants