Repository navigation
[Misc] remove legacy full_duplex alias for auto_response #8024
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
Oops, something went wrong.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[P2] This hunk drops
or extra.get("full_duplex") is Truefrom shared `SessionEmitt…This hunk drops
or extra.get("full_duplex") is Truefrom sharedSessionEmitter.auto_responds(), soextra_bodywith onlyfull_duplex: truenow yields False with no error on duplex paths that call it. Sibling validators still allow that key through: MiniCPM/PersonaPlex only intersect private-key sets that omitfull_duplex, and Aura only type-checks the object — those sessions open. Nemotron alone raises via_require_native_full_duplexwhenauto_response is Trueis missing. Alias-only clients therefore get a silent behavior change on non-Nemotron models. Reject leftoverfull_duplexat session open (or inauto_responds) with an explicit migration error, or document that legacyfull_duplexis unrecognized and callers must useauto_response.Evidence: emitter.py:128
return extra.get("auto_response") is True— full_duplex no longer enables auto-respond. Unchanged by this diff, present in the PR-time tree: minicpmo_4_5/duplex/plugin.py:724-731private_keys = sorted(PRIVATE_RUNTIME_CONFIG_KEYS.intersection(extra_body))/ raise only on private keys (frozenset at :79-97 omitsfull_duplex). Unchanged by this diff: personaplex/duplex/serving_adapter.py:151-156 same private-key-only pattern (_PRIVATE_RUNTIME_CONFIG_KEYSat :31-40 omitsfull_duplex). Unchanged by this diff: aura_omni/duplex/plugin.py:441-445 only rejects non-dict extra_body. Diff-touched: nemotron_voicechat/duplex/serving_adapter.py:120-124enabled = isinstance(extra_body, dict) and extra_body.get("auto_response") is Truethen raises unless enabled.Suggestion: if "full_duplex" in extra:
raise ValueError(
"extra_body.full_duplex is removed; set extra_body.auto_response=true"
)
return extra.get("auto_response") is True