mirror of
https://github.com/langgenius/dify.git
synced 2024-11-16 11:42:29 +08:00
dabfd74622
Co-authored-by: StyleZhang <jasonapring2015@outlook.com> Co-authored-by: Yi <yxiaoisme@gmail.com> Co-authored-by: -LAN- <laipz8200@outlook.com>
19 lines
391 B
Python
19 lines
391 B
Python
from pydantic import Field
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class PackagingInfo(BaseSettings):
|
|
"""
|
|
Packaging build information
|
|
"""
|
|
|
|
CURRENT_VERSION: str = Field(
|
|
description="Dify version",
|
|
default="0.8.0",
|
|
)
|
|
|
|
COMMIT_SHA: str = Field(
|
|
description="SHA-1 checksum of the git commit used to build the app",
|
|
default="",
|
|
)
|