mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-18 01:02:23 +00:00
Keyless voice: say where to add the OpenAI key instead of blaming the microphone
This commit is contained in:
1 parent
775e9df120
commit
09d02b6e7a
7 files changed
+40
-6
No files matched your search
@@ -18,7 +18,7 @@ import {
|
||||
} from './pointerContext.js';
|
||||
|
||||
import { shouldPauseRadioForVoice } from './realtimeProtocol.js';
|
||||
import { postDebugLog } from './realtimeDiagnostics.js';
|
||||
import { missingVoiceKeyText, postDebugLog } from './realtimeDiagnostics.js';
|
||||
|
||||
export {
|
||||
readStoredVoiceTier,
|
||||
@@ -437,6 +437,9 @@ export class GevRealtimeController extends RealtimeFacade {
|
||||
status === 'error'
|
||||
? resolvedDetail() || t('Voice session could not be started.')
|
||||
: '',
|
||||
// "Check microphone permission" is wrong advice for a missing key.
|
||||
hint: () =>
|
||||
!(status === 'error' && resolvedDetail() === missingVoiceKeyText()),
|
||||
});
|
||||
if (status === 'idle' || status === 'connecting' || status === 'error') {
|
||||
this.setVoiceSpeaker('idle');
|
||||
|
||||
Reference in new issue
Block a user