mirror of
https://github.com/openai/codex.git
synced 2026-04-25 23:24:55 +00:00
Update realtime websocket API (#13265)
- migrate the realtime websocket transport to the new session and handoff flow - make the realtime model configurable in config.toml and use API-key auth for the websocket --------- Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -126,6 +126,7 @@ impl TestCodexBuilder {
|
||||
let base_url_clone = base_url.clone();
|
||||
self.config_mutators.push(Box::new(move |config| {
|
||||
config.model_provider.base_url = Some(base_url_clone);
|
||||
config.experimental_realtime_ws_model = Some("realtime-test-model".to_string());
|
||||
config.features.enable(Feature::ResponsesWebsockets);
|
||||
}));
|
||||
self.build_with_home_and_base_url(base_url, home, None)
|
||||
|
||||
Reference in New Issue
Block a user