__init__.py 651 B

1234567891011121314151617181920
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class EnterpriseFeatureConfig(BaseSettings):
  4. """
  5. Configuration for enterprise-level features.
  6. **Before using, please contact business@dify.ai by email to inquire about licensing matters.**
  7. """
  8. ENTERPRISE_ENABLED: bool = Field(
  9. description="Enable or disable enterprise-level features."
  10. "Before using, please contact business@dify.ai by email to inquire about licensing matters.",
  11. default=False,
  12. )
  13. CAN_REPLACE_LOGO: bool = Field(
  14. description="Allow customization of the enterprise logo.",
  15. default=False,
  16. )