diff --git a/Sources/ChatGPTUI/ViewModels/VoiceChatViewModel.swift b/Sources/ChatGPTUI/ViewModels/VoiceChatViewModel.swift index 5287c43..f3e1b96 100644 --- a/Sources/ChatGPTUI/ViewModels/VoiceChatViewModel.swift +++ b/Sources/ChatGPTUI/ViewModels/VoiceChatViewModel.swift @@ -26,7 +26,7 @@ open class VoiceChatViewModel: NSObject, AVAudioRecorderDel state.idleResponse ?? state.playingSpeechResponse } - var selectedVoice = VoiceType.alloy + public var selectedVoice = VoiceType.alloy var audioPlayer: AVAudioPlayer! var audioRecorder: AVAudioRecorder! #if !os(macOS)