Gemini embedding models route to correct endpoint
@ai-sdk/google-vertex@4.0.148
1 fixThis release1 fixBug fixesAI-tallied from the release notes
Patch Changes
- 402f7ca: Route
gemini-embedding-2/gemini-embedding-2-previewto the:embedContentendpoint, which is the only one those models support (:predictreturns 400 FAILED_PRECONDITION)
Fetched June 22, 2026
