Skip to content

change(web): simplify model.predict() calls 🚂#15851

Draft
jahorton wants to merge 2 commits intorefactor/web/drop-token-addinputfrom
change/web/simplify-predict-calls
Draft

change(web): simplify model.predict() calls 🚂#15851
jahorton wants to merge 2 commits intorefactor/web/drop-token-addinputfrom
change/web/simplify-predict-calls

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

@jahorton jahorton commented Apr 13, 2026

Rather than copying over part of the existing context just to delete it, we can simplify prediction calls by just pre-deleting the current token, then applying any relevant deleteLeft transform component afterward to resulting predictions.

Build-bot: skip build:web
Test-bot: skip

@keymanapp-test-bot
Copy link
Copy Markdown

keymanapp-test-bot Bot commented Apr 13, 2026

User Test Results

Test specification and instructions

User tests are not required

Test Artifacts

  • Web
    • KeymanWeb Test Home - build : all tests passed (no artifacts on BuildLevel "build")

@keymanapp-test-bot keymanapp-test-bot Bot changed the title change(web): simplify model.predict() calls change(web): simplify model.predict() calls 🚂 Apr 13, 2026
@keymanapp-test-bot keymanapp-test-bot Bot added this to the A19S26 milestone Apr 13, 2026
@github-actions github-actions Bot added web/ web/predictive-text/ change Minor change in functionality, but not new labels Apr 13, 2026
@keyman-server keyman-server modified the milestones: A19S26, A19S27 Apr 14, 2026
@jahorton jahorton force-pushed the change/web/suggestion-range branch from 1baecad to be45f31 Compare April 22, 2026 16:08
@keyman-server keyman-server modified the milestones: A19S27, A19S28 Apr 24, 2026
Rather than copying over part of the existing context just to delete it, we can simplify prediction calls by just pre-deleting the current token, then applying any relevant deleteLeft transform component afterward to resulting predictions.

Build-bot: skip build:web
Test-bot: skip
@jahorton jahorton force-pushed the change/web/simplify-predict-calls branch from 52ac4d4 to 068367f Compare April 27, 2026 21:40
@jahorton jahorton changed the base branch from change/web/suggestion-range to refactor/web/drop-token-addinput April 27, 2026 21:40
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

change Minor change in functionality, but not new epic-autocorrect web/predictive-text/ web/

Projects

Status: Todo

Development

Successfully merging this pull request may close these issues.

2 participants