cambiando dev variables

This commit is contained in:
2025-06-06 11:28:21 -06:00
parent cfbe535747
commit 2880b7dbe9
4 changed files with 18 additions and 3631 deletions

View File

@@ -66,7 +66,7 @@ export function registerWebhookRoutes(
// Corrected Gemini API call structure
const result = await genAI.models.generateContent({
model: 'gemini-pro', // Ensure this model supports inline audio or use appropriate one
model: 'gemini-2.0-flash', // Ensure this model supports inline audio or use appropriate one
contents: [
{ inlineData: { mimeType: 'audio/ogg', data: audioBase64 } },
{ text: 'Generate a transcript of the speech.' },