Skip to content

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

Draft
jahorton wants to merge 1 commit intochange/web/suggestion-rangefrom
change/web/simplify-predict-calls
Draft

change(web): simplify model.predict() calls 🚂#15851
jahorton wants to merge 1 commit intochange/web/suggestion-rangefrom
change/web/simplify-predict-calls

Conversation

@jahorton
Copy link
Copy Markdown
Contributor

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.

🚧 Is incomplete; this approach is better designed to follow the work started #15818 once #15782 is better integrated.

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

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
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