__init__.py 605 B

12345678910111213141516171819
  1. from pydantic import BaseModel, Field
  2. class EnterpriseFeatureConfigs(BaseModel):
  3. """
  4. Enterprise feature configs.
  5. **Before using, please contact business@dify.ai by email to inquire about licensing matters.**
  6. """
  7. ENTERPRISE_ENABLED: bool = Field(
  8. description='whether to enable enterprise features.'
  9. 'Before using, please contact business@dify.ai by email to inquire about licensing matters.',
  10. default=False,
  11. )
  12. CAN_REPLACE_LOGO: bool = Field(
  13. description='whether to allow replacing enterprise logo.',
  14. default=False,
  15. )