Packages

@ai-sdk/amazon-bedrock

5.0.145 · 17 Nov 2026Apache-2.06.9M / weekRepositoryHomepagenpmAtom feed

Your version

3.0.71

18 Dec 2025Where it was published

3.0.146 is the newest release of 3.x.

In short

2 new

Release note

Patch Changes

  • provider/amazon-bedrock: Expose stop_sequence in provider metadata

    The Bedrock provider now exposes the specific stop sequence that triggered generation to halt via providerMetadata.bedrock.stopSequence. This is implemented by:

    • Requesting /stop_sequence via additionalModelResponseFieldPaths in the API call

    • Parsing the value from additionalModelResponseFields.stop_sequence in both generate and stream responses

    • Exposing it as stopSequence in the provider metadata (returns null when no stop sequence was matched)

  • Add stop sequence support for amazon bedrock provider

A whole project to check? Paste its package.json in the dependency check: every deprecated, outdated or vulnerable dependency, with what to upgrade to. Free, no account.