2024-06-19 13:41:12 +08:00
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
|
|
|
2024-06-22 09:54:25 +08:00
|
|
|
class EnterpriseFeatureConfig(BaseModel):
|
2024-06-19 13:41:12 +08:00
|
|
|
"""
|
|
|
|
Enterprise feature configs.
|
|
|
|
**Before using, please contact business@dify.ai by email to inquire about licensing matters.**
|
|
|
|
"""
|
|
|
|
ENTERPRISE_ENABLED: bool = Field(
|
|
|
|
description='whether to enable enterprise features.'
|
|
|
|
'Before using, please contact business@dify.ai by email to inquire about licensing matters.',
|
|
|
|
default=False,
|
|
|
|
)
|
|
|
|
|
|
|
|
CAN_REPLACE_LOGO: bool = Field(
|
|
|
|
description='whether to allow replacing enterprise logo.',
|
|
|
|
default=False,
|
|
|
|
)
|