You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
im using anthropic.claude-sonnet-4-20250514-v1:0 (supports thinking/ reasoning) bedrock model in my strands agent. im using stream.async() for streaming text.
when using
async for event in self.agent.stream_async(prompt):
if "data" in event:
yield event["data"]
i get the reasoning text with it. after checking the strands docs we get ReasoningContentBlock for reasoning text but i didnt see any in the stream event. and i only get data and delta which too only has text:"".
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
im using
anthropic.claude-sonnet-4-20250514-v1:0(supports thinking/ reasoning) bedrock model in my strands agent. im using stream.async() for streaming text.when using
i get the reasoning text with it. after checking the strands docs we get
ReasoningContentBlockfor reasoning text but i didnt see any in the stream event. and i only get data and delta which too only has text:"".strands-agent -v :
strands-agents==1.17.0Beta Was this translation helpful? Give feedback.
All reactions