befedf0852
When a model's weights aren't on disk, the green "Switch to this" button on the card is replaced by a blue "Download" button that calls /api/download directly with the model's repo and the right mode (solo -> spark1, cluster -> both). One-click re-install of a previously-deleted model, no more pasting the repo into the manual download form. Also adds a confirmation dialog showing the model name, size, and target Spark(s) before kicking off the download — and disables the button when another download is already in flight. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
14 lines
783 B
TypeScript
14 lines
783 B
TypeScript
import { VersionInfo, IMPOSSIBLE } from '@start9labs/start-sdk'
|
|
|
|
export const v0_1_0 = VersionInfo.of({
|
|
version: '0.8.1:2',
|
|
releaseNotes: {
|
|
en_US:
|
|
'v0.8.1:2 — the primary card button now adapts to whether the model is on disk. If weights are present: green "Switch to this" (unchanged). If weights are NOT on disk: blue "Download" instead, which calls /api/download directly with the model\'s repo and the right mode (solo→Spark 1, cluster→both Sparks) — no more pasting the repo into the manual download form to re-fetch a deleted model. Re-installing a previously-deleted model is now one click + a confirmation. Builds on the disk-status pills + trash icons from 0.8.1.',
|
|
},
|
|
migrations: {
|
|
up: async ({ effects }) => {},
|
|
down: IMPOSSIBLE,
|
|
},
|
|
})
|