tui: cfg-gate realtime settings draft helper

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Charles Cunningham
2026-03-13 05:14:51 -07:00
parent 93ead12235
commit efa6715884

View File

@@ -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",