github vercel/ai @ai-sdk/google@4.0.79

latest releases: @ai-sdk/zai@1.0.5, @ai-sdk/xai@2.0.97, @ai-sdk/vue@2.0.265...
4 hours ago

Patch Changes

  • fe07867: Fix Google embedMany calls with more than 100 values by keeping per-value multimodal content aligned across automatic batches, including text-only entries. Validate content length before sending requests and validate each batch's provider options after middleware transforms them.

  • 2db5621: fix(google): preserve code execution parts when replaying messages

  • 2693319: Add Gemini 3.8 TTS support with structured speech metadata and per-turn speaker and style controls for prebuilt voices. Preserve native WAV responses without adding a second header, support explicit raw PCM, mu-law, and A-law output, and identify headerless audio formats correctly. Add the Gemini 3.8 speech model IDs to Google and Gateway types.

    Share transcript and custom-voice inspection through the Google provider internal export, and reject empty speech transcripts before sending a request. Default newer and custom model IDs to structured speech while preserving the legacy format for Gemini 2.5 and 3.1.

  • 771e74b: chore: enable dead code lint rules

  • Updated dependencies [fe07867]

  • Updated dependencies [a4b0940]

  • Updated dependencies [771e74b]

    • @ai-sdk/provider-utils@5.0.47

Don't miss a new ai release

NewReleases is sending notifications on new releases.