realtime: add AVAS architecture override - #27720
Merged
Merged
Conversation
Member
Author
|
Reviewer context after smoke testing:
|
aibrahim-oai
approved these changes
Jun 12, 2026
aibrahim-oai
left a comment
Contributor
There was a problem hiding this comment.
can we add a todo to remove the branching?
bakks
enabled auto-merge (squash)
June 12, 2026 17:40
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 subscribe to this conversation on GitHub.
Already have an account?
Sign in.
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
Adds a
RealtimeConversationArchitectureoption for realtime conversation startup, withrealtimeapias the default andavasas an opt-in architecture.The AVAS path is limited to realtime v1 conversational WebRTC starts, and WebRTC call creation appends
intent=quicksilver&architecture=avasto/v1/realtime/calls. The existing sideband websocket still joins bycall_id.This also exposes the per-session architecture override through app-server v2
thread/realtime/startparams and updates the config schema for[realtime].architecture.Validation
just fmtjust write-config-schemajust test -p codex-api sends_avas_session_call_query_paramsjust test -p codex-core -E 'test(~conversation_webrtc_start_uses_avas_architecture_query)'just test -p codex-core -E 'test(realtime_loads_from_config_toml)'just test -p codex-app-server-protocol -E 'test(~serialize_thread_realtime_start) | test(generated_ts_optional_nullable_fields_only_in_params)'just test -p codex-app-server -E 'test(realtime_webrtc_start_emits_sdp_notification)'