2024-07-07 12:18:15 +08:00
|
|
|
from pydantic import Field
|
|
|
|
from pydantic_settings import BaseSettings
|
2024-06-19 13:41:12 +08:00
|
|
|
|
|
|
|
|
2024-07-07 12:18:15 +08:00
|
|
|
class PackagingInfo(BaseSettings):
|
2024-06-19 13:41:12 +08:00
|
|
|
"""
|
|
|
|
Packaging build information
|
|
|
|
"""
|
|
|
|
|
|
|
|
CURRENT_VERSION: str = Field(
|
2024-08-23 23:46:01 +08:00
|
|
|
description="Dify version",
|
2025-01-22 16:40:44 +08:00
|
|
|
default="0.15.2",
|
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",
|
2024-08-23 23:46:01 +08:00
|
|
|
default="",
|
2024-06-19 13:41:12 +08:00
|
|
|
)
|