Skip to content

@ai-sdk/google@4.0.79

Choose a tag to compare

@github-actions github-actions released this 23 Sep 21:45
· 6 commits to main since this release
5c830d5

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