mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-16 08:12:24 +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
@@ -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 =
|
||||
|
||||
Reference in new issue
Block a user