mirror of https://github.com/langgenius/dify.git
Update api/controllers/console/tag/tags.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
parent
60921d2587
commit
d985e44885
|
|
@ -12,9 +12,6 @@ from fields.tag_fields import dataset_tag_fields
|
|||
from libs.login import current_account_with_tenant, login_required
|
||||
from services.tag_service import TagService
|
||||
|
||||
DEFAULT_REF_TEMPLATE_SWAGGER_2_0 = "#/definitions/{model}"
|
||||
|
||||
|
||||
class TagBasePayload(BaseModel):
|
||||
name: str = Field(description="Tag name", min_length=1, max_length=50)
|
||||
type: Literal["knowledge", "app"] | None = Field(default=None, description="Tag type")
|
||||
|
|
|
|||
Loading…
Reference in New Issue