Keyless voice: say where to add the OpenAI key instead of blaming the microphone

This commit is contained in:
Said Turksever authored and Sameh Khamis committed 2026-11-10 16:11:17 -08:00
1 parent 775e9df120
commit 09d02b6e7a
7 files changed
+40 -6

No files matched your search

+4 -1
View File
@@ -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');