cambiando dev variables
This commit is contained in:
@@ -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.' },
|
||||
|
||||
Reference in New Issue
Block a user