mirror of
https://github.com/openai/codex.git
synced 2026-10-22 08:15:54 +00:00
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 <noreply@openai.com>
This commit is contained in:
@@ -6498,10 +6498,8 @@ voice = "marin"
|
|||||||
assert_eq!(
|
assert_eq!(
|
||||||
config.realtime,
|
config.realtime,
|
||||||
RealtimeConfig {
|
RealtimeConfig {
|
||||||
version: RealtimeWsVersion::V2,
|
|
||||||
session_type: RealtimeWsMode::Conversational,
|
|
||||||
transport: RealtimeTransport::Websocket,
|
|
||||||
voice: Some(RealtimeVoice::Marin),
|
voice: Some(RealtimeVoice::Marin),
|
||||||
|
..RealtimeConfig::default()
|
||||||
}
|
}
|
||||||
);
|
);
|
||||||
Ok(())
|
Ok(())
|
||||||
|
|||||||
Reference in New Issue
Block a user