mirror of
https://git.mirrors.martin98.com/https://github.com/langgenius/dify.git
synced 2025-08-19 23:09:08 +08:00
feat: increase dataset description length to 400 (#283)
This commit is contained in:
parent
59e59c19b2
commit
2478c88e07
@ -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
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user