mirror of
https://github.com/enricoros/big-AGI.git
synced 2026-05-10 21:50:14 -07:00
FF: Microphone update.
This commit is contained in:
+2
-1
@@ -48,4 +48,5 @@ next-env.d.ts
|
||||
.idea/
|
||||
|
||||
# Ingore k8s/env-secret.yaml
|
||||
./k8s/env-secret.yaml
|
||||
./k8s/env-secret.yaml
|
||||
/certificates
|
||||
@@ -6,6 +6,7 @@
|
||||
"repository": "https://github.com/enricoros/big-agi",
|
||||
"scripts": {
|
||||
"dev": "next dev",
|
||||
"dev-https": "next dev --experimental-https",
|
||||
"build": "next build",
|
||||
"start": "next start",
|
||||
"lint": "next lint",
|
||||
|
||||
@@ -17,7 +17,7 @@ const micLegend = (errorMessage: string | null) =>
|
||||
<Alert variant='soft' color='danger' sx={{ mt: 2, mb: 0.5, flexDirection: 'column', alignItems: 'flex-start' }}>
|
||||
{errorMessage}
|
||||
<ExternalDocsLink color='danger' level='body-sm' docPage='help-feature-microphone'>
|
||||
Help & Support
|
||||
How to fix...
|
||||
</ExternalDocsLink>
|
||||
</Alert>
|
||||
)}
|
||||
|
||||
@@ -215,7 +215,7 @@ export const useSpeechRecognition = (onResultCallback: SpeechResultCallback, sof
|
||||
setErrorMessage('Microphone access blocked. Enable it in your browser settings to use speech recognition.');
|
||||
break;
|
||||
case 'service-not-allowed':
|
||||
setErrorMessage('Speech recognition permission denied. Check your browser/website settings.');
|
||||
setErrorMessage('Speech recognition permission denied. Check your browser and system settings.');
|
||||
break;
|
||||
case 'audio-capture':
|
||||
setErrorMessage(`Audio capture failed (${event.message}). Please try again.`);
|
||||
|
||||
Reference in New Issue
Block a user