Hi everyone,
I’m running into an issue with the AI Agent node (v3) in n8n. When I enable the “Return Intermediate Steps” option, I expect to see the intermediate steps in the output. However, when “Enable Streaming” is also turned on, the intermediate steps are not included in the output at all.
I just want the intermediate steps at the end of the run to log “tokens” used.
Is this expected behavior? Or is it a bug?
Here’s a quick summary of the setup:
-
AI Agent Node version: v3
-
“Return Intermediate Steps”:
Enabled -
“Enable Streaming”:
Enabled -
Result: No intermediate steps returned
When I disable streaming, the intermediate steps are returned as expected.
Any ideas on how to get both streaming and intermediate steps working together? Or is there a workaround?
Thanks in advance!