Conversation
`google/gemini-3.1-flash-lite-preview` no longer exists: the AI Gateway retires `-preview` aliases when a model goes GA. Two paths referenced it. rerank-suggestions.ts calls the gateway directly for risk/vendor -> task auto-link reranking. Both callers in run-linkage.ts catch the 404 and fall back to raw cosine, so the breakage was silent — suggestions quietly regressed to the pre-reranker precision this module exists to fix. Added a regression test asserting the requested slug is GA, not a preview alias. The automation chat `modelId` values are inert (the enterprise-api chat route hardcodes its own model and ignores the body field), but they are updated so the two repos do not disagree on which model is in use.
…slug fix(app): use the GA gemini-3.1-flash-lite slug
|
The latest updates on your projects. Learn more about Vercel for GitHub.
1 Skipped Deployment
|
Contributor
|
🎉 This PR is included in version 3.108.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This is an automated pull request to release the candidate branch into production, which will trigger a deployment.
It was created by the [Production PR] action.
Summary by cubic
Switch all reranker and chat paths to the GA model
google/gemini-3.1-flash-liteto stop gateway 404s and restore proper reranking for risk/vendor → task auto-linking. Adds a regression test to prevent using-previewaliases again.modelIdfor consistency. This removes silent fallbacks to cosine-only scoring.rerank-suggestions.spec.tsasserting the model isgoogle/gemini-3.1-flash-liteand not a-previewalias.Written for commit ce4a59c. Summary will update on new commits.