__init__.py 392 B

123456789101112131415161718
  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.10.0",
  10. )
  11. COMMIT_SHA: str = Field(
  12. description="SHA-1 checksum of the git commit used to build the app",
  13. default="",
  14. )