feat(models): support searching by base model ID in the model picker
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Newbie friendliness
- 85/100
- Issue type
- Feature
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- frontend
Research direction
Start with filterModels() in frontend/src/lib/model/types.ts and the search and capability filtering in frontend/src/lib/components/ModelPicker.svelte. Check the model type and existing tests, then add coverage for ID-only, display-name-only with a null ID, and matching both fields, plus a picker test for displaying the matching ID. Done when all acceptance criteria pass and existing filters and keyboard selection still work.
Written by the indexing model from the issue text.
Description
Goal
Users who know a model's underlying ID should be able to find it in the model picker even when an administrator has given it a different display name.
For example, a model with the display name Local Coder and the base model ID qwen3-coder should appear when a user searches for either local or qwen3.
Current behavior
The picker searches displayName only. The existing ModelInfo type already exposes baseModelId as a nullable string, so the picker has the data it needs.
Acceptance criteria
- Search matches a substring of either
displayNameorbaseModelId, ignores letter case, and trims surrounding whitespace from the query. - When a result matches only through
baseModelId, the row also displays that ID so the user can see why the model appeared. - Models with
baseModelId: nullremain searchable by display name. - A model matching both fields appears once. Existing capability filters and keyboard selection continue to work with ID-based results.
- Automated tests cover an ID-only match, a display-name match with a null ID, and a query matching both fields. A picker test verifies that an ID-only result exposes the matching ID to the user.
Starting points
- Dominant language
- Java
- Stars
- 0
- Forks
- 0
- Avg merge
- 4h 4m
- Merged PRs (30d)
- 10
Getting set up
- Ships a Dockerfile or Docker Compose file
- Has a pull request template
- Read the contributing guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from LexProfi/Nyravio
-
bug good first issue
Difficulty 3/5 1-2 days Newbie friendliness 78/100
Maintainers usually reply within 1 day
-
enhancement help wanted
Difficulty 3/5 1-2 days Newbie friendliness 76/100
Maintainers usually reply within 1 day
-
enhancement
Difficulty 5/5 Over a week Newbie friendliness 35/100
Maintainers usually reply within 1 day
All issues in LexProfi/Nyravio
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
Maintainers usually reply within 1 day
-
Difficulty 2/5 1-3 hours Newbie friendliness 80/100
java-native-access/jna#1757 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
eclipse-ee4j/eclipselink#3105 ·
Maintainers usually reply within 1 day
-
Difficulty 1/5 Under an hour Newbie friendliness 65/100
humblemuzzu/dumbtv#250 ·
Maintainers usually reply within 3 days
-
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
NucleusFramework/Nucleus#1020 ·
Maintainers usually reply within 1 day