jawa0 / aish3

AI LLM Agent with memories
Apache License 2.0
3 stars 1 forks source link

Simplify Voice In UX by tracking whether or not we're in listening mode #41

Closed jawa0 closed 1 year ago

jawa0 commented 1 year ago

Currently, the user has to press Cmd+Enter to enable voice recording. Recording ends automatically when the speech transcription API detects an long enough pause.

Recording is automatically turned off when Voice-out starts, as well. User needs to press Cmd+Enter again to say something else.

Instead, we should either be in a user-commanded listening mode, or not. Cmd+Enter toggles listening mode. If we turned off actually listening due to a user pause, we should re-enable listening if we're still in listening mode. Same for when we turn off listening for voice out. We should re-enable listening based on the user level concept of listening mode.