Repository navigation
Make model downloads explicit with visible progress; starting never downloads (D-59) - #41
Merged
Merged
Conversation
…ownloads (D-59) - resolve_model looks catalog names (NAME or NAME:TYPE) up in `speech models --json` and fails with a message pointing to the catalog when the file is not fetched, instead of running `speech pull` silently inside the engine start. - The catalog dialog lists Irodori-TTS v4.1 Small and v4 Large (Gemma terms, consent), and fills speechPull models' variants from speech.cpp (sizes, VRAM estimate, fetched). - The モデル screen offers only fetched Irodori models, warns about a missing one and disables its start; the status bar shows running downloads; starts show 準備中… and a second start is ignored. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Picking Irodori-TTS Large on the モデル screen only set the model name; the download then ran inside the engine start (
speech pullwith no progress, no cancel, engine still shown as stopped), so the app looked frozen. Large was not in the catalog dialog at all.resolve_modellooksNAME/NAME:TYPEup inspeech models --jsonand returns the fetched file's path, or an error that points to カタログから入手. Covers engine start, モデルを確認 and ASR.speechPullmodels get every quantization from speech.cpp (Catalog::merge_speech: size, VRAM estimate, ✓ 取得済) and download withspeech pull NAME:TYPE, using the existing progress / cancel / free-space check.engine_startreturns; a second start is ignored.Recorded as D-59 (D-02 marked superseded); CLAUDE.md and engine-protocol.md updated.
Test plan
npm run check(format, lint, clippy, vitest, cargo test), with new tests for catalog lookup/merge, the status bar summary, the モデル screen and the start guard🤖 Generated with Claude Code