Skip to content

feat(models): support multiple Hugging Face sources per node - #275

Draft
DrHepa wants to merge 1 commit into
lightningpixel:devfrom
DrHepa:feat/273-multi-model-sources
Draft

feat(models): support multiple Hugging Face sources per node#275
DrHepa wants to merge 1 commit into
lightningpixel:devfrom
DrHepa:feat/273-multi-model-sources

Conversation

@DrHepa

@DrHepa DrHepa commented Aug 21, 2026

Copy link
Copy Markdown
Contributor

Summary

  • add an optional, backwards-compatible model_sources contract for model nodes that require weights from multiple Hugging Face repositories
  • resolve download plans from the installed manifest in Electron main and download all declared sources sequentially through one aggregate action
  • validate source destinations and collisions, aggregate progress, and apply existing pause/resume/cancel controls to the whole node action
  • require every declared check for readiness and keep all downloaded sources owned by the existing node model directory

Legacy hf_repo, download_check, and filter fields keep their existing behavior when model_sources is absent. The new contract is intentionally limited to Hugging Face repositories.

Testing

  • npm test
  • ./node_modules/.bin/tsc --noEmit
  • ./node_modules/.bin/electron-vite build
  • python -m compileall -q api
  • git diff --check

Validation gap

  • no live Hugging Face download or packaged Windows UI E2E was run

Closes #273

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant