mirror of
https://github.com/langgenius/dify.git
synced 2026-03-06 15:45:14 +00:00
Some checks failed
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/amd64, build-api-amd64) (push) Has been cancelled
Build and Push API & Web / build (api, DIFY_API_IMAGE_NAME, linux/arm64, build-api-arm64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/amd64, build-web-amd64) (push) Has been cancelled
Build and Push API & Web / build (web, DIFY_WEB_IMAGE_NAME, linux/arm64, build-web-arm64) (push) Has been cancelled
Build and Push API & Web / create-manifest (api, DIFY_API_IMAGE_NAME, merge-api-images) (push) Has been cancelled
Build and Push API & Web / create-manifest (web, DIFY_WEB_IMAGE_NAME, merge-web-images) (push) Has been cancelled
17 lines
571 B
Python
17 lines
571 B
Python
from typing import Final
|
|
|
|
# Dify CLI (absolute path - hidden in /tmp, not in sandbox workdir)
|
|
DIFY_CLI_ROOT: Final[str] = "/tmp/.dify"
|
|
DIFY_CLI_PATH: Final[str] = "/tmp/.dify/bin/dify"
|
|
|
|
DIFY_CLI_PATH_PATTERN: Final[str] = "dify-cli-{os}-{arch}"
|
|
|
|
DIFY_CLI_CONFIG_FILENAME: Final[str] = ".dify_cli.json"
|
|
|
|
DIFY_CLI_TOOLS_ROOT: Final[str] = "/tmp/.dify/tools"
|
|
DIFY_CLI_GLOBAL_TOOLS_PATH: Final[str] = "/tmp/.dify/tools/global"
|
|
|
|
# App Assets (relative path - stays in sandbox workdir)
|
|
APP_ASSETS_PATH: Final[str] = "skills"
|
|
APP_ASSETS_ZIP_PATH: Final[str] = "/tmp/assets.zip"
|