n8n-io / n8n

Free and source-available fair-code licensed workflow automation tool. Easily automate tasks across different services.
https://n8n.io
Other
48.86k stars 7.74k forks source link

Little bug in format message for AI #11471

Open afanjul opened 2 weeks ago

afanjul commented 2 weeks ago

Bug Description

I think there is a little miss-typed bug in a message to format output in AI nodes, it says:

image
{
"action": "Final Answer",
"action_input": string // You should put what you want to return to use here and make sure to use valid json newline characters.
}

And I guess it should be:

"action_input": string // You should put what you want to return to user here and make sure to use valid json newline

Pay attention to "use" vs "user".

To Reproduce

  1. Add an AI Agent node
  2. Just review the formatting system prompt

Expected behavior

Just correct the wrong word

Operating System

Macos

n8n Version

Sonoma

Node.js Version

18.17.0

Database

SQLite (default)

Execution mode

main (default)

Joffcom commented 2 weeks ago

Hey @afanjul,

We have created an internal ticket to look into this which we will be tracking as "GHC-362"