Skip to content

fix: show newest provider models first in Desktop and Web UI - #229

Open
KillerQueen-Z wants to merge 1 commit into
mainfrom
fix/newest-first-provider-models
Open

KillerQueen-Z wants to merge 1 commit into
mainfrom
fix/newest-first-provider-models

Conversation

@KillerQueen-Z

Copy link
Copy Markdown
Collaborator

The Desktop/browser model dropdown currently sorts model labels alphabetically within a provider, putting older Gemini, GPT and Claude generations before newer ones. Build the models.list response with Model Core's shared newest-first helper and reuse it in the expanded terminal picker. Available chat models remain grouped by company; free flags, labels, shortcuts, context sizes and live prices are preserved.

Depends on model-catalog #7. The package and lockfile pin the exact Model Core commit a9d7dd21e65c744104dd752a13d7bf5a71e27f01, making the helper available without waiting for an npm publication.

Release dates take precedence when a provider group has complete verified date coverage. The current gateways supply a shared placeholder created timestamp rather than release dates, so current lists use descending numeric generations (Gemini 4 before 3.8 before 3.1; GPT 6.1 before 6 before 5.x). Same-generation ties preserve source order. Remove the terminal picker's separate weighted version/tier scores so both full pickers follow the same rule.

Validation:

  • npm run build passes with the pinned catalog archive.
  • Catalog and Arc integration suites: 19 tests pass.
  • Expanded picker regressions: 3 tests pass.
  • Replayed the current public Base and Solana model responses through buildModelList: all 85/85 Base and 82/82 Solana available chat models are retained, including uncurated models. Gemini 4 Argon and GPT 6.1 Sol lead their respective provider groups.

This PR needs to be merged and included in a Franklin release before installed apps receive the change.

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