mirror of
https://github.com/openai/codex.git
synced 2026-11-24 23:22:05 +00:00
Allow per-call sideband endpoints for existing realtime calls (#41923)
## What changed - Add an in-process `sideband_base_url` override to `ConversationStartTransport::ExistingCall`, while keeping app-server requests on the configured or default endpoint. - Prefer the per-call endpoint when attaching and reconnecting a sideband, falling back to `experimental_realtime_ws_base_url` when no override is supplied. - Preserve runtime authentication headers on the selected endpoint without adding bearer authorization. ## Testing - Cover configured and per-call endpoint selection, authentication headers, call-specific handshake paths, and reconnect behavior. GitOrigin-RevId: 16c439fe0a9ff8bcdda4ec615bb9983e30935052
This commit is contained in:
1 parent
0344625ccf
commit
34c4f7e72d
6 files changed
+208
-19
No files matched your search
@@ -1272,7 +1272,10 @@ impl TurnRequestProcessor {
|
||||
ConversationStartTransport::Webrtc { sdp }
|
||||
}
|
||||
ThreadRealtimeStartTransport::ExistingCall { call_id } => {
|
||||
ConversationStartTransport::ExistingCall { call_id }
|
||||
ConversationStartTransport::ExistingCall {
|
||||
call_id,
|
||||
sideband_base_url: None,
|
||||
}
|
||||
}
|
||||
}),
|
||||
version: params.version,
|
||||
|
||||
Reference in new issue
Block a user