unsloth/studio
shimmyshimmer 36268b8444 Studio: auto-load only on-device models on send; never download the hard-coded default
Fixes #7374. Pressing Send with no model loaded could miss local models
(models dir, LM Studio, custom scan folders, inactive HF caches) and then
download unsloth/Qwen3.5-4B-MTP-GGUF from Hugging Face without consent.

- autoLoadSmallestModel is now autoLoadOnDeviceModel: adopts the server
  active model, then the remembered on-device model, then the smallest
  complete chat-capable on-device model (GGUF first), across managed HF
  caches and the unified backend local inventory.
- Inventory failures fail closed instead of reading as an empty cache.
- The remote Qwen fallback is removed from the send path; with no valid
  candidate the user is asked to select or explicitly download a model.
- last-local-model-load records loadId/inventoryId/source with backward
  compatible v1 parsing; indexed local loads are remembered while native
  path lease picks stay excluded.
- New source-contract tests in tests/studio/test_model_picker_contracts.py.
2026-07-23 16:21:08 -07:00
..
backend Studio STT: only load safetensors weights for custom dictation models (RCE fix) (#7364) 2026-07-23 03:15:45 -07:00
frontend Studio: auto-load only on-device models on send; never download the hard-coded default 2026-07-23 16:21:08 -07:00
src-tauri Studio: add configurable model download location (#7274) 2026-07-23 01:34:38 -07:00
__init__.py Final cleanup 2026-03-12 18:28:04 +00:00
install_llama_prebuilt.py Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
install_node_prebuilt.py Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
install_python_stack.py fix(install): infer Strix gfx when ROCm runtime is absent (#7305) 2026-07-22 20:16:45 -05:00
install_whisper_prebuilt.py Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
LICENSE.AGPL-3.0 Add AGPL-3.0 license to studio folder 2026-03-09 19:36:25 +00:00
MCP.md Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00
node_prebuilt_pins.json Pin isolated Node.js installer to committed sha256 digests (#6625) 2026-06-24 05:47:58 -07:00
package-lock.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
package.json ci: advisory lockfile supply-chain audit (no install-script changes) (#5604) 2026-05-19 05:56:56 -07:00
prebuilt_core.py Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
setup.bat Final cleanup 2026-03-12 18:28:04 +00:00
setup.ps1 Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
setup.sh Studio: add local speech-to-text dictation engine (#7095) 2026-07-23 01:39:03 -07:00
Unsloth_Studio_Colab.ipynb Replace standalone Studio wording with Unsloth (#7221) 2026-07-19 00:47:04 -07:00