Skip to content

fix: replace retired gemini-2.5-flash with gemini-3.8-flash - #25

Merged
FloareDor merged 1 commit into
mainfrom
fix/gemini-2.5-flash-retired
Oct 20, 2026
Merged

FloareDor merged 1 commit into
mainfrom
fix/gemini-2.5-flash-retired

Conversation

@FloareDor

Copy link
Copy Markdown
Owner

Summary

  • gemini-2.5-flash was retired for new API keys: it still shows up in ListModels but 404s on generateContent, so anyone bringing a new key through LLM Settings or the server-side proxy got a broken model with no obvious cause.
  • Points the hardcoded model id to gemini-3.8-flash in the three places it was set: the streaming chat path (src/lib/llm.ts), the server-side API proxy (src/app/api/gemini/route.ts), and the local key-verification script (scripts/verify-gemini.js).

Test plan

  • Set a fresh Gemini API key and confirm chat streaming works end-to-end
  • Run node scripts/verify-gemini.js with a fresh key and confirm success

🤖 Generated with Claude Code

gemini-2.5-flash was retired for new API keys: it still shows up in
ListModels but 404s on generateContent, so anyone bringing a new
Gemini key through LLM Settings or the server-side proxy got a broken
model with no obvious cause. Points to gemini-3.8-flash everywhere
the model id was hardcoded (streaming chat path, the API proxy route,
and the local verify script).

Generated with [Claude Code](https://claude.ai/code)
via [Happy](https://happy.engineering)

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Co-Authored-By: Happy <yesreply@happy.engineering>
@vercel

vercel Bot commented Oct 20, 2026 •

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
gitask Ready Ready Preview Oct 20, 2026 8:14am UTC

@FloareDor
FloareDor merged commit 60679ac into main Oct 20, 2026
4 checks passed
@FloareDor
FloareDor deleted the fix/gemini-2.5-flash-retired branch October 26, 2026 04:56
FloareDor added a commit that referenced this pull request Nov 8, 2026
fix: replace retired gemini-2.5-flash with gemini-3.8-flash

This branch was successfully deployed

1 active deployment
Preview — fd016e08 Deployed Oct 20, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant