isInVoiceMode property
Necessary because ChatStatus.sendingPrompt
and ChatStatus.answering
does not tell if voice mode is on.
This variable is not always true for voice mode process, it is just a helper variable. Use isVoiceMode for this check.
Implementation
bool isInVoiceMode = false;