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

+3 -2
View File
@@ -39,8 +39,9 @@ export function createRealtimeBackend({
if (!response.ok) {
const reason =
typeof data?.error === 'string' ? data.error : data?.error?.message;
throw new Error(
reason || `Realtime token failed: HTTP ${response.status}`,
throw Object.assign(
new Error(reason || `Realtime token failed: HTTP ${response.status}`),
typeof data?.code === 'string' ? { code: data.code } : {},
);
}
const token =