Skip to content

@ai-sdk/provider-utils@5.0.76

Choose a tag to compare

@github-actions github-actions released this 07 Nov 19:30
· 54 commits to main since this release
0f3a85f

Patch Changes

  • 6400cf8: Add resolveProviderOptions to parse provider options that a model accepts under several providerOptions keys, either as aliases (first) or merged in order (merge), and use it for the existing multi-key lookups in the OpenAI, OpenAI-compatible, Anthropic, Google, and Amazon Bedrock models. Resolution behavior for these models is unchanged.
  • f608c05: Reject HTTPS-to-HTTP redirects in validated downloads before requesting the insecure target, including when it matches a configured trusted origin.
  • cab9c1f: Return undefined instead of throwing when detectMediaType receives an unsupported topLevelType that matches an inherited object property.
  • Updated dependencies [c70adf6]
    • @ai-sdk/provider@4.0.37