docs(bedrock): add guardrail_latest_message parameter documentation#562
Merged
docs(bedrock): add guardrail_latest_message parameter documentation#562
Conversation
Add documentation for the new guardrail_latest_message parameter that allows evaluating only the latest user message instead of the entire conversation when using Amazon Bedrock guardrails. - Add parameter to code example with descriptive comment - Add note explaining use cases for performance optimization and cost reduction Resolves #554
Member
Author
|
/strands delete the unnecessary build logs |
Contributor
Documentation Deployment CompleteYour documentation preview has been successfully deployed! Preview URL: https://d3ehv1nix5p99z.cloudfront.net/pr-562/ |
dbschmigelski
approved these changes
Feb 18, 2026
daniel-was-taken
pushed a commit
to daniel-was-taken/docs-strands
that referenced
this pull request
Mar 6, 2026
…trands-agents#562) Co-authored-by: Strands Agent <217235299+strands-agent@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds documentation for the
guardrail_latest_messageparameter added in SDK commit 08bf563.Changes
guardrail_latest_message=Trueto the Guardrails code example inamazon-bedrock.mdTechnical Details
When
guardrail_latest_message=True:Note
PR #340 also addresses this documentation gap. This PR follows the exact implementation requirements from issue #554 (using
Truein the example and admonition note formatting).Resolves #554