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
When the SQL Agent create the system prompt the action list is wrongly formatted.
Thought: you should always think about what to do
Action: the action to take, should be one of [["query-sql","info-sql","list-tables-sql","query-checker"]]
To Reproduce
Create a AI Agent and send a chat message. See the picture belov
Expected behavior
When the SQL Agent create the system prompt the action list should be like this
Action: the action to take, should be one of ["query-sql","info-sql","list-tables-sql","query-checker"]
I already identified the issue in langchain and a PR have been merged and released in version 0.3.13
Bug Description
When the SQL Agent create the system prompt the action list is wrongly formatted.
Thought: you should always think about what to do
Action: the action to take, should be one of [["query-sql","info-sql","list-tables-sql","query-checker"]]
To Reproduce
Create a AI Agent and send a chat message. See the picture belov
Expected behavior
When the SQL Agent create the system prompt the action list should be like this
Action: the action to take, should be one of ["query-sql","info-sql","list-tables-sql","query-checker"]
I already identified the issue in langchain and a PR have been merged and released in version 0.3.13
langchain-ai/langchainjs#7510
https://github.com/langchain-ai/langchainjs/releases/tag/0.3.13
You need to update the langchain version in file https://github.com/n8n-io/n8n/blob/master/packages/%40n8n/nodes-langchain/package.json
Operating System
Ubuntu and Docker
n8n Version
1.76.1
Node.js Version
Node provided by Docker image
Database
PostgreSQL
Execution mode
main (default)
The text was updated successfully, but these errors were encountered: