refactor: define the Dify project version in pyproject.toml (#20910)

This commit is contained in:
Bowen Liang
2025-07-01 12:07:24 +08:00
committed by GitHub
parent cf2173644e
commit 1a7ad195f0
13 changed files with 77 additions and 15 deletions

View File

@@ -9,7 +9,7 @@ class IndexApi(Resource):
return {
"welcome": "Dify OpenAPI",
"api_version": "v1",
"server_version": dify_config.CURRENT_VERSION,
"server_version": dify_config.project.version,
}