2024-06-19 13:41:12 +08:00
|
|
|
from pydantic import BaseModel, Field
|
|
|
|
|
|
|
|
|
|
|
|
class PackagingInfo(BaseModel):
|
|
|
|
"""
|
|
|
|
Packaging build information
|
|
|
|
"""
|
|
|
|
|
|
|
|
CURRENT_VERSION: str = Field(
|
|
|
|
description='Dify version',
|
2024-06-28 22:00:19 +08:00
|
|
|
default='0.6.12',
|
2024-06-19 13:41:12 +08:00
|
|
|
)
|
|
|
|
|
|
|
|
COMMIT_SHA: str = Field(
|
|
|
|
description="SHA-1 checksum of the git commit used to build the app",
|
|
|
|
default='',
|
|
|
|
)
|