mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 19:59:50 +08:00
19 lines
604 B
Python
19 lines
604 B
Python
from pydantic import BaseModel, Field
|
|
|
|
|
|
class EnterpriseFeatureConfig(BaseModel):
|
|
"""
|
|
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,
|
|
)
|