Repository navigation
Fix domestic speech downloads in ClassFox 2.1.1 - #16
Merged
Merged
Conversation
Root cause: Speech assets still required Hugging Face although an identical copy exists on ModelScope. Solution: Prefer a pinned ModelScope copy for weights, tokens and license, retain checked upstream fallback and install fingerprints, and document in-app downloads with installer-only Netdisk sharing. Risks: Community mirror availability depends on ModelScope; fixed hashes and the original source remain enforced. Native builds must include the updated source map in the 2.1.1 backend. Dependency: ModelScope gomodels/sherpa pinned snapshot Links: https://modelscope.cn/models/gomodels/sherpa
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
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.
SenseVoice downloads still required Hugging Face in 2.1.0. This patch prefers the identical model, tokens and license files from a fixed
gomodels/sherpaModelScope commit, retaining upstream fallback, SHA-256 validation and existing installation fingerprints. Qwen already prefers its verified ModelScope copy. Both models now install inside the App; Netdisk distribution only needs installers.The complete three-file speech download was verified with proxy environment variables disabled and all non-ModelScope hosts denied. Files matched catalog size/SHA-256, requests reached only
modelscope.cnandcdn-lfs-cn-1.modelscope.cn, the actual speech loading probe returned ready, and a Chinese sample matched the original model output.Validation: three source-routing regressions failed before the fix and passed after. The full backend suite passed 202 tests; lint/format/type checks, three script tests, frontend typecheck, 22 frontend tests, production build, 10 real Edge browser scenarios and strict docs build passed. Fresh whole-diff review found no actionable issues. CI run 38860822699 passed all three native builds and frozen-backend checks on Windows x64, Intel Mac and Apple Silicon; web-and-phone and docs CI also passed. The final Apple Silicon DMG was additionally verified locally (version, DMG integrity, signature, bundled resource hashes and packaged backend self-check). This proves the tested direct download route; it does not claim every mainland ISP was tested.
Version: 2.1.1. Release/docs links updated consistently. No model bytes, inference engines or dependencies changed. Netdisk share URL is still pending actual installer upload; no placeholder download link is advertised.
Plan: plan/02-v1-domestic-downloads.md (2.1.1 revision)
Source: https://modelscope.cn/models/gomodels/sherpa
Merge using Rebase and merge.