Plan and Execute Agent node

Describe the problem/error/question

anytime i ask Plan and Execute Agent node a question, i get this error. the workflow is simple and basic.

What is the error message (if any)?

  • Error:

Problem in node ‘AI Agent‘
Cannot read properties of undefined (reading ‘text’)

or

-Error

Problem in node ‘AI Agent‘

Unable to parse JSON response from chat agent. Question: Can you provide a step-by-step guide on how to create a new Next.js project using the npx create-next-app command? Thought: To create a new Next.js project, we can use the npx create-next-app command. This command will guide us through the process of setting up a new Next.js project. Action: $JSON_BLOB { "action": "terminal", "action_input": "npx create-next-app my-next-app" } Troubleshooting URL: OUTPUT_PARSING_FAILURE | 🦜️🔗 Langchain

Please share your workflow




## Information on your n8n setup
- **n8n version:  1.73.1
- **Database (default: SQLite):Supabase
- **n8n EXECUTIONS_PROCESS setting (default: own, main): default
- **Running n8n via (Docker, npm, n8n cloud, desktop app):Docker
- **Operating system:Windows

I just saw this. I am using the Plan & Execute node, it is a different workflow, but it is working for me.

I have disabled “require specific output format”, and I have added the option “Human Message Template” with the following value

Previous steps: {previous_steps}

Current objective: {current_step}

{agent_scratchpad}

You may extract and combine relevant data from your previous steps when responding to me. 
 

Hopefully this will help you

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.