Commit Graph
5 Commits
Author SHA1 Message Date
Jason Hoku 292d680383 refactor(network_utils): remove HuggingFace Remote VAE block
Deletes HUGGINGFACE_VAE_ENDPOINTS, HUGGINGFACE_VAE_TIMEOUT, and
huggingface_vae_decode() - all moved to the ComfyUI-USCG-RemoteVAE
companion plugin. network_utils.py shrinks from 281 to ~140 lines.

Imports of these symbols in remote_vae.py / generation_orchestrator.py /
distribution_worker.py are fixed in subsequent commits in this branch.
2026-05-19 13:10:51 -07:00
Jason HokuandClaude Opus 4.6 d5fd56541b fix: lazy-import torch/safetensors in network gateway, update stale comments
Move torch and safetensors imports inside huggingface_vae_decode() so
CivitAI and Distribution functions still work if those packages are
missing. Update stale "Uses urllib" comments to reference the gateway.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 02:27:20 -07:00
Jason HokuandClaude Opus 4.6 9f7d9ae6c5 feat: add Distribution LAN section to network gateway
GET, POST JSON, POST multipart, and streaming download functions for
LAN-only worker coordination between ComfyUI instances.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 02:18:28 -07:00
Jason HokuandClaude Opus 4.6 28999721ee feat: add HuggingFace Remote VAE section to network gateway
Allowlisted endpoints with validation. Handles tensor serialization,
query string construction, and HTTP transport.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 02:16:43 -07:00
Jason HokuandClaude Opus 4.6 a192354a49 feat: create network_utils.py gateway with CivitAI section
Centralizes all outbound network requests into a single module for
easier Comfy Registry security review. Starts with CivitAI API.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
2026-03-14 02:15:14 -07:00