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:
parent
ff46cf61a5
commit
0c6e4cfac1
1 changed files with 1 additions and 1 deletions
|
|
@ -34,7 +34,7 @@ async function callGeminiTranscribe(
|
||||||
mimeType: string,
|
mimeType: string,
|
||||||
): Promise<string> {
|
): Promise<string> {
|
||||||
const response = await fetch(
|
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",
|
method: "POST",
|
||||||
headers: { "Content-Type": "application/json" },
|
headers: { "Content-Type": "application/json" },
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue