feat(voice): harden Gemini Live provider integration

This commit is contained in:
manjunath committed 2026-10-16 17:09:03 +05:30
1 parent d4492d8f8c
commit 4fde920665
102 files changed
+28528 -1581

No files matched your search

+4 -1
View File
@@ -129,6 +129,7 @@ function createRealtimeOAuthLoginHandler({
function createRealtimeTokenHandler({
annotationGuidance,
providerDropdown = false,
endpoint = 'https://api.openai.com/v1/realtime/client_secrets',
fetchImpl = (...args) => fetch(...args),
resolveApiKey = () => process.env.OPENAI_API_KEY,
@@ -298,7 +299,9 @@ function createRealtimeTokenHandler({
},
output: { voice },
},
instructions: realtimeInstructions(annotationGuidance),
instructions: realtimeInstructions(annotationGuidance, {
providerDropdown,
}),
tools,
tool_choice: 'auto',
},