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.

fix: The length of the tag should between 1 and 50 (#8187) (#8188)

zhuhao86f7f245e433
diff --git a/api/controllers/console/tag/tags.py b/api/controllers/console/tag/tags.py
index 7293aeeb34c..de30547e93f 100644
--- a/api/controllers/console/tag/tags.py
+++ b/api/controllers/console/tag/tags.py
@@ -13,7 +13,7 @@ from services.tag_service import TagService
def _validate_name(name):
- if not name or len(name) < 1 or len(name) > 40:
+ if not name or len(name) < 1 or len(name) > 50:
raise ValueError("Name must be between 1 to 50 characters.")
return name