github vercel/ai @ai-sdk/anthropic@3.0.8

latest releases: @ai-sdk/vue@2.0.119, @ai-sdk/gateway@2.0.25, ai@5.0.119...
3 days ago

Patch Changes

  • bee4f82: fix(anthropic): enable structured output support for claude-haiku-4-5

    This fixes an issue where the strict: true property was not included in the request body when using tools with Claude Haiku 4.5, because supportsStructuredOutput was incorrectly set to false for this model.

    Claude Haiku 4.5 supports structured outputs, so the strict property should be forwarded to the Anthropic API when specified on tools.

Don't miss a new ai release

NewReleases is sending notifications on new releases.