Skip to content

armgit / dify

Public Imported from GitHub
0

Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.

feat: increase dataset description length to 400 (#283)

John Wang2478c88e0776
diff --git a/api/controllers/console/datasets/datasets.py b/api/controllers/console/datasets/datasets.py
index 04a4a44840c..2defcec6f21 100644
--- a/api/controllers/console/datasets/datasets.py
+++ b/api/controllers/console/datasets/datasets.py
@@ -50,8 +50,8 @@ def _validate_name(name):
def _validate_description_length(description):
- if len(description) > 200:
- raise ValueError('Description cannot exceed 200 characters.')
+ if len(description) > 400:
+ raise ValueError('Description cannot exceed 400 characters.')
return description