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

latest releases: @ai-sdk/zai@3.0.49, @ai-sdk/xai@5.0.40, @ai-sdk/workflow-harness@1.0.176...
one hour ago

Patch Changes

  • 93f4a18: Bound Google JSON Schema conversion work, output size, and depth to prevent excessive resource use when inlining repeated local references. Input inspection and conversion each have a separate budget of 10,000 visited JSON values and a conservative 1,000,000-character serialized-size allowance, with a depth limit of 100. Schemas exceeding these limits now fail with a controlled error, including large schemas that were previously accepted. String-size accounting reserves six characters per UTF-16 code unit for JSON escaping.
  • 2a57dab: Pass providerOptions.google.labels through to Google and Vertex AI Interactions requests, including streaming, so callers can attach request metadata such as safety_identifier.
  • f3c2cb3: skip streamed tool-call array indexes that leave a gap so a small response can't build a huge sparse array
  • Updated dependencies [f0dee4b]
    • @ai-sdk/provider-utils@4.0.65

Don't miss a new ai release

NewReleases is sending notifications on new releases.