mirror of
https://github.com/comfyanonymous/ComfyUI.git
synced 2026-04-20 23:42:36 +08:00
Read a .comfy_environment file from the ComfyUI base directory to determine the deployment environment (e.g. standalone, portable, desktop). Defaults to 'local_git' when the file is absent. The value is sent as an X-Comfy-Deploy-Env header on all requests to api.comfy.org, allowing the API to differentiate between environment types. The .comfy_environment file is gitignored so launchers/installers can write it without affecting the repository. Co-authored-by: Amp <amp@ampcode.com> Amp-Thread-ID: https://ampcode.com/threads/T-019d939e-6b4d-738b-8d1a-ac7cbf6736a4 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| _helpers.py | ||
| client.py | ||
| common_exceptions.py | ||
| conversions.py | ||
| download_helpers.py | ||
| request_logger.py | ||
| upload_helpers.py | ||
| validation_utils.py | ||