The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.
TypeScript agentai-chatai-studioall-in-onecoding-agentdesktop-appfluximage-generationlinuxllmlocal-ailocal-llmopen-sourceprivacyself-hostedstable-diffusionuncensoreduncensored-aivideo-generationwindows
fix(models): Juggernaut XL V9 downloads from a pinned commit (PR #229)
purplef392ce78b440
diff --git a/src/api/__tests__/juggernaut-xl-is-pinned-229.test.ts b/src/api/__tests__/juggernaut-xl-is-pinned-229.test.tsnew file mode 100644index 00000000..fffc5817--- /dev/null+++ b/src/api/__tests__/juggernaut-xl-is-pinned-229.test.ts@@ -0,0 +1,26 @@+/**+ * PR #229 (kayleexlinu): the Juggernaut XL V9 download pointed at `main` of+ * RunDiffusion/Juggernaut-XL-v9, so a later push there could change the file+ * under the same name. It is pinned to the repo commit now, with the byte+ * count and LFS sha256 the Hugging Face tree API gives for that commit+ * (read 2026-11-14; main serves the same file).+ *+ * Run: npx vitest run src/api/__tests__/juggernaut-xl-is-pinned-229.test.ts+ */+import { describe, it, expect } from 'vitest'+import { getImageBundles } from '../model-bundles'++const file = () => getImageBundles().flatMap((b) => b.files).find((f) => f.filename === 'Juggernaut-XL_v9.safetensors')!++describe('Juggernaut XL V9 downloads one fixed file', () => {+ it('from the pinned commit of the official repo, checked by size and sha256', () => {+ expect(file().downloadUrl).toBe('https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/cf419233522daa0b9ea36c3aff98fa2cab1fb0fb/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors')+ expect(file().sizeBytes).toBe(7105348188)+ expect(file().sha256).toBe('c9e3e68f89b8e38689e1097d4be4573cf308de4e3fd044c64ca697bdb4aa8bca')+ })++ it('NEGATIVE CONTROL: no longer a moving branch, and the local name stays', () => {+ expect(file().downloadUrl).not.toMatch(/\/resolve\/main\//)+ expect(file().subfolder).toBe('checkpoints')+ })+})diff --git a/src/api/model-bundles.ts b/src/api/model-bundles.tsindex 294fd256..4bccb141 100644--- a/src/api/model-bundles.ts+++ b/src/api/model-bundles.ts@@ -171,8 +171,14 @@ export function getImageBundles(): ModelBundle[] {name: 'Juggernaut XL V9 Photo v2',description: 'SDXL checkpoint · includes VAE and CLIP.',pulls: '', tags: ['Checkpoint', '6.5 GB'], updated: '',- downloadUrl: 'https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/main/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors',+ // PR #229 (kayleexlinu): pinned to the repo commit, so a later push+ // to main cannot change the file under the same name. Commit, size+ // and LFS sha256 read from the Hugging Face tree API on 2026-11-14:+ // the pinned file is the one main serves, byte for byte.+ downloadUrl: 'https://huggingface.co/RunDiffusion/Juggernaut-XL-v9/resolve/cf419233522daa0b9ea36c3aff98fa2cab1fb0fb/Juggernaut-XL_v9_RunDiffusionPhoto_v2.safetensors',filename: 'Juggernaut-XL_v9.safetensors', subfolder: 'checkpoints', sizeGB: 6.5,+ sizeBytes: 7105348188,+ sha256: 'c9e3e68f89b8e38689e1097d4be4573cf308de4e3fd044c64ca697bdb4aa8bca',},],},