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.

251 B
Raw Blame
def validate_description_length(description: str | None) -> str | None:
    """Validate description length."""
    if description and len(description) > 400:
        raise ValueError("Description cannot exceed 400 characters.")
    return description