Open
Conversation
added 3 commits
April 25, 2026 12:28
end-of-utterance prediction. Edited comment; dynamic endpointing now accounts for speech pauses as well as EOU delay selection. /** Maximum endpointing delay in milliseconds. */ Edited in place; AudioRecognition now takes an endpointing object so dynamic state can be preserved. /** Minimum endpointing delay in milliseconds. */ Edited in place; AudioRecognition now takes an endpointing object so dynamic state can be preserved. apply(exp: number, sample: number): number; Kept as an overload; existing ExpFilter callers remain source-compatible. constructor(alpha: number, max?: number); Kept as an overload; existing ExpFilter callers remain source-compatible. maxEndpointingDelay: number; Edited in place; all AudioRecognition constructors in this repository were updated to pass endpointing. minEndpointingDelay: number; Edited in place; all AudioRecognition constructors in this repository were updated to pass endpointing. onEndOfAgentSpeech(ignoreUserTranscriptUntil: number): Promise<void>; Edited in place; callers do not await it and endpointing needs synchronous state updates. onEndOfOverlapSpeech(endedAt: number, userSpeakingSpan?: Span): Promise<boolean | undefined>; Edited in place; callers do not await it and endpointing state is updated through onEndOfSpeech. onStartOfAgentSpeech(): Promise<boolean>; Edited in place; all callers now pass the source-required startedAt timestamp. onStartOfOverlapSpeech(speechDuration: number, startedAt: number, userSpeakingSpan?: Span): Promise<void>; Edited in place; callers do not await it and endpointing start handling moved to onStartOfSpeech. private maxEndpointingDelay; Edited in place; fixed delay fields were replaced by the endpointing state machine. private minEndpointingDelay; Edited in place; fixed delay fields were replaced by the endpointing state machine. reset(alpha?: number): void; Kept as an overload; existing ExpFilter callers remain source-compatible. turnDetection: TurnDetectionMode | undefined; Edited in place; updateOptions now preserves NotGiven semantics by checking property presence.
* end-of-utterance prediction. Edited in place; dynamic mode now preserves the existing EOU wording and adds pause-adaptation detail.
🦋 Changeset detectedLatest commit: 2e47fd8 The changes in this PR will be included in the next version bump. This PR includes changesets to release 26 packages
Not sure what this means? Click here to learn what changesets are. Click here if you're a maintainer who wants to add another changeset to this PR |
|
Rosetta Bot seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account. You have signed the CLA already but the status is still pending? Let us recheck it. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR was created by Rosetta.
Tracking issue: https://github.com/livekit/rosetta/issues/118
Summary
ExpFilterhelper, wires endpointing through VAD, STT, realtime, and agent-speech lifecycle paths.Source
Validation
pnpm test agents/src/voice/turn_config/endpointing.test.ts agents/src/voice/audio_recognition_endpointing.test.ts agents/src/voice/agent_activity.test.ts agents/src/voice/audio_recognition_handoff.test.ts agents/src/voice/audio_recognition_span.test.tspnpm test agents/src/utils.test.ts agents/src/voice/turn_config/utils.test.ts agents/src/voice/agent.test.tspnpm test agents/src/voice/agent_activity_handoff.test.ts agents/src/voice/interruption_detection.test.ts agents/src/voice/agent_session_handoff.test.tspnpm --filter @livekit/agents buildpnpm --filter @livekit/agents-plugin-silero buildpnpm exec eslint -f unix "agents/src/**/*.ts" --quietpnpm exec prettier --check ...touched files...Notes
pnpm --filter @livekit/agents api:checkcurrently fails on the repository's existing API Extractor limitation forexport * as ___syntax indist/index.d.ts.