__init__.py 392 B

12345678910111213141516171819
  1. from pydantic import Field
  2. from pydantic_settings import BaseSettings
  3. class PackagingInfo(BaseSettings):
  4. """
  5. Packaging build information
  6. """
  7. CURRENT_VERSION: str = Field(
  8. description='Dify version',
  9. default='0.6.14',
  10. )
  11. COMMIT_SHA: str = Field(
  12. description="SHA-1 checksum of the git commit used to build the app",
  13. default='',
  14. )