Repository navigation
berd-call: set the Spokesperson's advanced session options - #409
Closed
johnmatthewtennant wants to merge 1 commit into
Closed
johnmatthewtennant wants to merge 1 commit into
johnmatthewtennant wants to merge 1 commit into
Conversation
Berd sets the Spokesperson's realtime session options (model, turn detection, noise reduction and the rest of its Advanced settings), but the standalone CLI always used the defaults. `--spokesperson-options JSON` now takes the same camelCase fields and ranges, refuses unknown ones and the voice and speed that have their own flags, and applies them when the Spokesperson's session starts. Saved settings don't keep it; the caller passes it on each start. Signed-off-by: John Tennant <jtennant@block.xyz> Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Author
|
🤖 Folded into #416 for review and merge. |
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.
Summary
Berd lets you tune the Spokesperson's realtime session under Advanced: the model, turn detection and eagerness, noise reduction, VAD timing, transcription and the rest. A standalone Berd Call couldn't set any of these, so it always used the defaults.
berd-call startandsessionnow take--spokesperson-options JSON:{"turnDetection":"semantic_vad","eagerness":"low","noiseReduction":"near_field"}.start, so clearing a setting there takes effect instead of reviving an old saved value.Related issue
None.
Testing
A new test parses a
berd-call sessioncommand line carrying the options and builds the Spokesperson'ssession.updatefrom it, the same path a call takes when its Spokesperson session starts:The released berd-call rejects
--spokesperson-optionsas an unknown argument. No live call was made with the flag.