mirror of
https://github.com/openai/codex.git
synced 2026-09-14 11:57:03 +00:00
tui: cfg-gate realtime settings draft helper
Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
@@ -5593,6 +5593,7 @@ impl ChatWidget {
|
||||
SlashCommandInvocation::with_args(SlashCommand::Approvals, args).into_user_message()
|
||||
}
|
||||
|
||||
#[cfg(all(not(target_os = "linux"), feature = "voice-input"))]
|
||||
fn settings_device_draft(kind: RealtimeAudioDeviceKind, name: Option<&str>) -> UserMessage {
|
||||
let kind_name = match kind {
|
||||
RealtimeAudioDeviceKind::Microphone => "microphone",
|
||||
|
||||
Reference in New Issue
Block a user