Tips: Be careful when using the code executor node in Chatflow

When we use Chatflow, we have the opportunity to add a code executor to help us process the raw data. Very convenient. But we still need to pay attention to some limitations when using it.

If the result of the string returned by the code executor exceeds 160,000, an error message will be reported.

The length of output variable 'result' must be less than 160000 characters

You can confirm this by checking the ConfigMap in your K8s environment.

Parameter: CODE_MAX_STRING_LEGNTH

Of course, if you need to process huge amounts of data, we still recommend that you do the data pre-processing first; otherwise, the AI ​​Agent may encounter the timeout issue when processing it.

Have a nice day.