Skip to content

fix(graph): drop reasoning blocks before downstream node input#2956

Open
chaynabors wants to merge 1 commit into
strands-agents:mainfrom
chaynabors:agent-tasks/2882-graph-drop-reasoning
Open

fix(graph): drop reasoning blocks before downstream node input#2956
chaynabors wants to merge 1 commit into
strands-agents:mainfrom
chaynabors:agent-tasks/2882-graph-drop-reasoning

Conversation

@chaynabors

Copy link
Copy Markdown
Member

Graph nodes forward the previous node's full message into the next node's input, including reasoning blocks that downstream nodes cannot consume. The fix filters reasoning content out of the forwarded message before invoking the next executor, leaving every other content block intact.

Fixes #2882.

@github-actions github-actions Bot added size/xs area-multiagent Multi-agent related bug Something isn't working labels Jun 24, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area-multiagent Multi-agent related bug Something isn't working size/xs

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Graph forwards reasoning blocks into downstream node input

1 participant