Repository navigation
Use model-only word prediction - #881
Merged
Merged
Conversation
enaboapps
marked this pull request as ready for review
September 25, 2026 10:01
enaboapps
marked this pull request as draft
September 25, 2026 10:37
enaboapps
marked this pull request as ready for review
September 25, 2026 11:05
This was referenced Sep 25, 2026
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.
Closes #880
Change
enhancedWordPredictionfield remains compatible but no longer changes engines.Validation
npm run lint,npm test(224 UI tests, 5 feed tests),npm run buildpassed.cargo fmt --manifest-path src-tauri/Cargo.toml --check,cargo clippy --manifest-path src-tauri/Cargo.toml --all-targets -- -D warnings,cargo test --manifest-path src-tauri/Cargo.toml(552 unit tests, 7 config tests) passed.w,wa,cup of,ket,wh, andfa;tea,kettle,WhatsApp, andwaterremained present. Model-only inference took 60–353 ms; prior combined model samples took 32–156 ms and lookup-only median was 0.01 ms after a 6.7 s startup. Thekettail differs (model-only includesketogenic,keto,ketsrather than lookup words), while its topkettleresult remains. More real-use validation is pending.src-tauri/target/aarch64-pc-windows-msvc/debug/switchify-pc.exefrom this branch and launched it in the interactive desktop session. The existing Space Select assignment started scanning. A temporary F8 Open keyboard assignment opened the native scanned keyboard; its first frame showedLoading predictions · Keyboard readyand five empty suggestion positions. On resuming the scan, the status advanced toLetters · Select a row, which means model loading completed without a failure status. Escape closed the overlay. The temporary F8 assignment was removed. The VM test used injected keyboard switch events; no physical switch device was connected. It did not verify a completed model suggestion in a Windows text app.bd33b340e9806478c40917bfd8516799f8448e87: no actionable findings. All required CI passed, including frontend, macOS native, Windows native, CodeQL, JavaScript/TypeScript analysis, and dependency audit.Follow-up: prediction feedback and retry
772ba6e: no actionable findings. All latest-head CI passed, including Windows UI Access and macOS native packaging.