Skip to content

feat: add search/filter and custom model ID support to model selector#378

Open
pablospe wants to merge 1 commit intoOpenWhispr:mainfrom
pablospe:user/pablospe/ai-model-selection
Open

feat: add search/filter and custom model ID support to model selector#378
pablospe wants to merge 1 commit intoOpenWhispr:mainfrom
pablospe:user/pablospe/ai-model-selection

Conversation

@pablospe
Copy link

@pablospe pablospe commented Mar 6, 2026

Summary

  • Add search/filter input to the reasoning model selector for quickly finding models in large lists (e.g., Vercel AI Gateway with 200+ models)
  • Show model ID alongside the display name on cards when they differ (useful for custom endpoints where IDs like meta-llama/llama-4-scout-17b-16e-instruct aren't obvious from the label)
  • Support custom model IDs via the same input field — type any model ID and press Enter or click the checkmark to use it, even if it's not in the fetched list (e.g., gpt-4o on an Azure BYOK endpoint)
  • Add vertical scrolling to the model list with a max height
  • Two-line card layout: name + ID on first line, description below

Test plan

[x] Test custom model ID selection via Enter and checkmark button
[x] Verify custom endpoint with many models (e.g., https://ai-gateway.vercel.sh/v1) shows the filter input
[x] Verify local model picker is unaffected (no allowCustomModel passed)

Screenshot

image

- Combined search input filters models by name, ID, and description
- Shows model ID on cards when it differs from the display name
- Supports custom model IDs via Enter or checkmark button
- Model list scrolls vertically with max height
- Two-line card layout: name + ID on first line, description below
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant