Compare commits

...

2 Commits

Author SHA1 Message Date
sno
3fa080ca5c
Merge 06adf92f60 into 025e6792ee 2026-05-03 08:55:23 -07:00
snomiao
06adf92f60 feat(server): expose comfy_api_base in system_stats response
Add system.comfy_api_base to /api/system_stats so clients (especially
the static preview frontend) can read the configured cloud API base
URL directly instead of parsing it out of argv.

The value is always present: it defaults to https://api.comfy.org
when --comfy-api-base is not specified, matching the existing default
in cli_args.py.
2026-04-30 19:14:43 +09:00

View File

@ -669,7 +669,8 @@ class PromptServer():
"python_version": sys.version,
"pytorch_version": comfy.model_management.torch_version,
"embedded_python": os.path.split(os.path.split(sys.executable)[0])[1] == "python_embeded",
"argv": sys.argv
"argv": sys.argv,
"comfy_api_base": args.comfy_api_base
},
"devices": [
{