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
The input text variable size is limited to 256 characters because it is defined as a "Short text" input type, which is designed for brief user input [1]. If you want to allow more than 256 characters, you can use the "Paragraph" input type, which allows for longer content without a specified character limit [1].
If you need to change the character limit for the "Short text" input type in a self-hosted setup, you can modify the MAX_VARIABLE_SIZE environment variable in the docker-compose.yaml file. The default value is set to 204800, which is larger than 256 characters. You can increase this value to suit your needs:
MAX_VARIABLE_SIZE: ${MAX_VARIABLE_SIZE:-204800}
Update the value of MAX_VARIABLE_SIZE to your desired limit [2].
Self Checks
Dify version
latest
Cloud or Self Hosted
Self Hosted (Docker)
Steps to reproduce
✔️ Expected Behavior
should be more thean 256
❌ Actual Behavior
Input text variable size can't be more than 256 in a workflow
The text was updated successfully, but these errors were encountered: