fix(gemini): upgrade model from 2.0-flash to 2.5-flash (404 fix)

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
Hermann_Kitio 2026-04-25 07:16:51 +03:00
parent ff46cf61a5
commit 0c6e4cfac1

View file

@ -34,7 +34,7 @@ async function callGeminiTranscribe(
mimeType: string,
): Promise<string> {
const response = await fetch(
`${GEMINI_BASE_URL}/models/gemini-2.0-flash:generateContent?key=${GEMINI_API_KEY}`,
`${GEMINI_BASE_URL}/models/gemini-2.5-flash:generateContent?key=${GEMINI_API_KEY}`,
{
method: "POST",
headers: { "Content-Type": "application/json" },