#Problem in node 'AI Agent':Cannot read properties of undefined (reading 'content')

15 messages · Page 1 of 1 (latest)

signal grotto
#

After deploying n8n locally, I encountered a problem as title when calling a local large model. The workflow is a simple dialogue workflow, that is, a message and an AI Agent. In the model call section, it is already displayed: connection tested successfully, so I guess the problem lies in the AI ​​Agent module. I hope someone can give some suggestions for modification. Thank you!

lean pebble
#

This means your LLM didn't return a proper content property as the response

#

So most likely, your LLM responded without content (an error in the generation possibly)

signal grotto
merry zephyr
signal grotto
merry zephyr
#

or maybe small context window

signal grotto
merry zephyr
tough gulch
#

What is the message and what are the prompts being used

signal grotto
merry zephyr
#

no system prompt? thats why maybe

signal grotto
signal grotto
#

The workflow is as same as in the Intranet. We use the OpenAI chat model to load our local model, which has shown connection tested successfully. When it runs, only the AI Agent, which I use the red circle to show, has the issue as the title, and the detailed info has been shown in the second pic.