Repository navigation
fix(web): find a model by its words in every model field, and set it once chosen - #416
Merged
Merged
Conversation
…rywhere The model picker kept a model only when the whole query was one piece of its id or name, so "Qwen 32b" found nothing. It now uses the tables' search, which also ignores - _ / and :. The kits, the benchmark checks and the Settings judges use the same picker.
… its list A model field saved and checked the recipe on every keystroke. It now does so on a pick, Enter or leaving the field, and shows no error before that.
…ft holds Typing back the text a draft had kept read as a choice, and a window losing focus read as leaving the field.
…ck's error while the next runs
…ts list and input method keys A press on the list's count or scrollbar, or an input method's Enter, set the half-typed search. Start over forgets that a model field was used, and only a missing model's error waits for one.
This comment has been minimized.
This comment has been minimized.
🔴 PR judge · 6 of 8 yes · #416 ↔ #415
Acceptance criteria, 5 of 5 met
Checks the script runs itself, 4 of 4 pass
some of the diff was cut before the judge read it |
3 tasks
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 #415
What
Every model field finds a model by its words, with one picker and one search, and typing in the builder no longer sets anything.
matches, which now also ignores- _ / :(a version's dot counts). No new dependency. Table, card and Compare column searches get this too.model-picker.jsmoves toapp/static/and serves the builder, the kits' form, a benchmark's judge model and both Settings judges, which lose theirdatalistcode.unsetmark). After a choice, the last check's error is not shown while the next one runs.Touches
Templates and static files; backend (
standard/pages/recipe.py:unseton two errors,served_models); tests.Before and after
Verified
- _ / :, reversed, first and last word, capitals without- _ / :): all found. Before: 470, 470, 0, 51, 71, 0.Risk
- _ / :, so a query can match a few more rows, and a query of those alone matches every row.~maker/model-latestids are listed and refused by the standard's id check, as before.