feat(models): support searching by base model ID in the model picker

Open Beginner friendly
#28 0 comments 0 reactions 0 assignees View on GitHub

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

enhancement good first issue

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 displayName or baseModelId, 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: null remain 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

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from LexProfi/Nyravio

All issues in LexProfi/Nyravio

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.