Skip to content

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

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

change(web): simplify model.predict() calls 🚂#15851
jahorton wants to merge 2 commits into
refactor/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
@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
@jahorton jahorton force-pushed the refactor/web/drop-token-addinput branch from e6ec03b to fab50f7 Compare May 7, 2026 18:00
jahorton added 2 commits May 7, 2026 13:06
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 068367f to 3f83237 Compare May 7, 2026 18:11
@keyman-server keyman-server modified the milestones: A19S28, A19S29 May 11, 2026
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