From 974ba51bb322bc198bf7da9381010826404eb186 Mon Sep 17 00:00:00 2001 From: Ahmed Ibrahim Date: Wed, 8 Apr 2026 22:57:44 -0700 Subject: [PATCH] Fix realtime config partial-table default test Keep the partial realtime config test anchored to RealtimeConfig::default() so it follows the branch default while still checking configured voice is preserved. Co-authored-by: Codex --- codex-rs/core/src/config/config_tests.rs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/codex-rs/core/src/config/config_tests.rs b/codex-rs/core/src/config/config_tests.rs index dab42da753..a205b2041c 100644 --- a/codex-rs/core/src/config/config_tests.rs +++ b/codex-rs/core/src/config/config_tests.rs @@ -6498,10 +6498,8 @@ voice = "marin" assert_eq!( config.realtime, RealtimeConfig { - version: RealtimeWsVersion::V2, - session_type: RealtimeWsMode::Conversational, - transport: RealtimeTransport::Websocket, voice: Some(RealtimeVoice::Marin), + ..RealtimeConfig::default() } ); Ok(())