Open
Description
Problem Statement
Bedrock models with extended thinking return reasoningContent
events. These events can contain either reasoningText
or redactedContent
(https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_ReasoningContentBlock.html). Currently the BedrockModel provider handles reasoningText
but not redactedContent
:
sdk-python/src/strands/event_loop/streaming.py
Lines 131 to 142 in 61c3bf7
Proposed Solution
Support redactedContent
in reasoningContent
Bedrock Model events.
Use Case
Implement handling of redactedContent
in my agent's async iterator or callback handler.
Alternatives Solutions
No response
Additional Context
No response