Claro! Aqui está uma sugestão de como você pode escrever seu tópico no fórum do n8n em inglês, de forma clara e objetiva: Title: AI Agent Node v3 not returning intermediate steps when "Enable Streaming" is true

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”: :white_check_mark: Enabled

  • “Enable Streaming”: :white_check_mark: 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!