mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-03 19:03:30 +07:00
[PR #2258] [CLOSED] Add opt-in browser model downloads and switching through official setup #3950
Labels
No labels
needs-format
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Niko1221/Strata#3950
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/Niko1221/Strata/pull/2258
Author: @kw39
Created: 10/13/2026
Status: ❌ Closed
Base:
main← Head:feature/web-model-manager📝 Commits (4)
3cdaa62Add opt-in browser model manager using official setupd02d02dFix cross-platform model switching and cancellationf54af5bUpdate checkout action to the Node.js 24 runtime7e86f94Preserve setup backups and keep lazy model chat accessible📊 Changes
14 files changed (+1593 additions, -2 deletions)
View changed files
➕
.github/workflows/model-manager.yml(+51 -0)📝
.gitignore(+2 -0)➕
MODELS.bat(+8 -0)📝
docs/MODELS.md(+4 -0)➕
docs/MODEL_MANAGER.md(+125 -0)➕
models.sh(+7 -0)➕
serve/web/models.css(+63 -0)➕
serve/web/models.html(+74 -0)➕
serve/web/models.js(+121 -0)📝
tools/strata_mcp.py(+12 -1)➕
tools/strata_models.py(+522 -0)📝
tools/test_strata_mcp.py(+58 -1)➕
tools/test_strata_models.py(+475 -0)➕
tools/test_strata_models_web.js(+71 -0)📄 Description
Users currently run setup and separate start scripts to download or change models. This adds an opt-in Models table with download review, progress, start/stop and switching that stays available while setup or a model loads.
Launch with
MODELS.batorsh models.sh. The Models page listens on127.0.0.1:8090; chat and the API use port 8080.setup.pyand runsetup.py --setup --yes --no-start. Official setup chooses GPU, backend, context, KV, low-RAM mode and cache settings. Downloads require a reviewed plan with its data folder pinned..json.bakof the user's earlier settings and save the generated config separately to.json.lookup.bakbefore changing paths. Swift and Unsloth keep their own tables; OrcaRouter and experimental models link to manual workflows.Lifecycle fixes cover the reported Linux TIME_WAIT port reuse and setup cancellation races. Windows retains exclusive port checks and ends the verified owned process tree after unloading, including virtual-environment launcher children.
The normal installer, default web app, server and engine backends remain unchanged from the feature's v0.1.43.1 merge base. The shared management helper receives the port-probe and Windows-stop fixes. No inference tuning or OrcaRouter conversion is added.
Validation:
Related to #925. Usage and limitations are documented in
docs/MODEL_MANAGER.md.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.