fix(geminiLive): use Gemini Developer API (no vertexai flag)

This commit is contained in:
Hermann_Kitio 2026-04-27 02:55:40 +03:00
parent f3eb7d615e
commit 91bb93a07f

View file

@ -223,8 +223,7 @@ export function openGeminiLiveSession(
contexte: opts.contexte,
});
const ai =
opts.clientFactory?.(apiKey) ?? new GoogleGenAI({ vertexai: true, apiKey });
const ai = opts.clientFactory?.(apiKey) ?? new GoogleGenAI({ apiKey });
const transcriptEntries: TranscriptEntry[] = [];
let sessionEnded = false;