mirror of
https://github.com/openai/codex.git
synced 2026-11-27 23:31:09 +00:00
Expose voice conversations in experimental features (#44331)
## What changed - Mark `realtime_conversation` as experimental, keeping it disabled by default, and label it “Voice conversations” in `/experimental`. - Add an announcement directing users to enable the feature, restart Codex, and run `/voice`. - Hide server-discovered voice entries and the announcement when the client lacks native voice runtime support. ## Testing Add tests and snapshots for voice discovery and announcement visibility with and without runtime support, and update the experimental features popup snapshot. GitOrigin-RevId: 709655f3733cb88191eb78b40ac1f67e27c9816e
This commit is contained in:
1 parent
130d6e4fba
commit
e722303e38
9 files changed
+123
-10
No files matched your search
+8
-6
@@ -1,16 +1,18 @@
|
||||
---
|
||||
source: tui/src/chatwidget/tests/popups_and_settings.rs
|
||||
assertion_line: 3083
|
||||
expression: popup
|
||||
---
|
||||
Experimental features
|
||||
Checked features are configured on. Some experimental features take effect
|
||||
only in new tasks or after restarting the Codex server.
|
||||
|
||||
› [ ] JavaScript REPL Enable a persistent Node-backed JavaScript REPL for
|
||||
interactive website debugging and other inline
|
||||
JavaScript execution capabilities.
|
||||
[x] Shell tool Allow the model to run shell commands.
|
||||
[ ] Worktrees Create isolated Git worktrees and group sessions by
|
||||
repository.
|
||||
› [ ] JavaScript REPL Enable a persistent Node-backed JavaScript REPL for
|
||||
interactive website debugging and other inline
|
||||
JavaScript execution capabilities.
|
||||
[x] Shell tool Allow the model to run shell commands.
|
||||
[ ] Worktrees Create isolated Git worktrees and group sessions by
|
||||
repository.
|
||||
[ ] Voice conversations Talk with Codex using /voice.
|
||||
|
||||
Press space to select or enter to save
|
||||
@@ -3039,6 +3039,7 @@ async fn experimental_features_popup_snapshot() {
|
||||
let (mut chat, _rx, _op_rx) = make_chatwidget_manual(/*model_override*/ None).await;
|
||||
|
||||
let worktrees = Feature::Worktrees.stage();
|
||||
let voice = Feature::RealtimeConversation.stage();
|
||||
let features = vec![
|
||||
ExperimentalFeatureItem {
|
||||
key: Feature::JsRepl.key().to_string(),
|
||||
@@ -3061,6 +3062,13 @@ async fn experimental_features_popup_snapshot() {
|
||||
description: worktrees.experimental_menu_description().unwrap().to_string(),
|
||||
enabled: false,
|
||||
},
|
||||
ExperimentalFeatureItem {
|
||||
key: Feature::RealtimeConversation.key().to_string(),
|
||||
writable: true,
|
||||
name: voice.experimental_menu_name().unwrap().to_string(),
|
||||
description: voice.experimental_menu_description().unwrap().to_string(),
|
||||
enabled: false,
|
||||
},
|
||||
];
|
||||
let view = ExperimentalFeaturesView::new(
|
||||
features,
|
||||
|
||||
Reference in new issue
Block a user