mirror of
https://github.com/openai/codex.git
synced 2026-11-19 22:30:42 +00:00
Negotiate realtime voice calls in the TUI (#61172)
## What changed - Create WebRTC calls using the TUI's local provider and credentials, then attach the app server through `existingCall` with the returned call ID. - Preserve the effective voice preference and share realtime prompt preparation and thread headers between call creation and the backend observer. - Run negotiation asynchronously, cancel pending startup when voice stops, and ignore results from stale startup attempts. ## Testing Update voice request and handoff tests for client-created calls. Add coverage ensuring that canceling and restarting voice attaches only the new attempt, including when an earlier result is already queued. GitOrigin-RevId: b704976f4918dddd24a17fbaa868a7c62e81885b
This commit is contained in:
@@ -18,6 +18,7 @@ pub(crate) mod telemetry;
|
||||
/// Path of the Responses endpoint, relative to a provider's base URL.
|
||||
pub const RESPONSES_PATH: &str = "/responses";
|
||||
|
||||
pub use crate::requests::headers::build_realtime_thread_headers;
|
||||
pub use crate::requests::headers::build_session_headers;
|
||||
pub use codex_client::RequestTelemetry;
|
||||
pub use codex_client::ReqwestTransport;
|
||||
|
||||
Reference in New Issue
Block a user