diff --git a/.env.example b/.env.example index f301855..dcfd040 100644 --- a/.env.example +++ b/.env.example @@ -1,4 +1,4 @@ DISCORD_TOKEN= GEMINI_API_KEY= # Opcional -GEMINI_MODEL=gemini-2.5-flash +GEMINI_MODEL=gemini-3.8-flash diff --git a/src/gemini.ts b/src/gemini.ts index cf805ef..f62f026 100644 --- a/src/gemini.ts +++ b/src/gemini.ts @@ -3,7 +3,7 @@ import type { AudioTrack } from './recorder.js'; import { buildPrompt } from './prompt.js'; const ai = new GoogleGenAI({ apiKey: process.env.GEMINI_API_KEY }); -const MODEL = process.env.GEMINI_MODEL || 'gemini-2.5-flash'; +const MODEL = process.env.GEMINI_MODEL || 'gemini-3.8-flash'; const sleep = (ms: number) => new Promise((r) => setTimeout(r, ms));