__init__.py 628 B

1234567891011121314151617181920
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class EnterpriseFeatureConfig(BaseSettings):
  4. """
  5. Enterprise feature configs.
  6. **Before using, please contact business@dify.ai by email to inquire about licensing matters.**
  7. """
  8. ENTERPRISE_ENABLED: bool = Field(
  9. description="whether to enable enterprise 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="whether to allow replacing enterprise logo.",
  15. default=False,
  16. )