mirror of
http://112.124.100.131/huang.ze/ebiz-dify-ai.git
synced 2025-12-10 11:26:52 +08:00
21 lines
628 B
Python
21 lines
628 B
Python
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class EnterpriseFeatureConfig(BaseSettings):
|
|
"""
|
|
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,
|
|
)
|