[PR #13893] fix(app): use computed latest set for model (latest) tag #14856

Closed
opened 2026-02-16 18:19:36 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/13893

State: closed
Merged: No


Summary

  • The "(latest)" tag displayed next to models in the model selection dialog was determined by checking if the models.dev API included (latest) in the model name string
  • This is stale — e.g. it shows "(latest)" for Claude Opus 4.5 even though Opus 4.6 is now the latest
  • Uses the already-computed latestSet instead, which correctly picks the newest model per family by release_date

Test plan

  • Open model selection dialog and verify "(latest)" tag appears on the newest model per family (e.g. Opus 4.6, not Opus 4.5)
  • Verify models without a newer sibling still show "(latest)" correctly

🤖 Generated with Claude Code

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/13893 **State:** closed **Merged:** No --- ## Summary - The "(latest)" tag displayed next to models in the model selection dialog was determined by checking if the models.dev API included `(latest)` in the model name string - This is stale — e.g. it shows "(latest)" for Claude Opus 4.5 even though Opus 4.6 is now the latest - Uses the already-computed `latestSet` instead, which correctly picks the newest model per family by `release_date` ## Test plan - [ ] Open model selection dialog and verify "(latest)" tag appears on the newest model per family (e.g. Opus 4.6, not Opus 4.5) - [ ] Verify models without a newer sibling still show "(latest)" correctly 🤖 Generated with [Claude Code](https://claude.com/claude-code)
yindo added the pull-request label 2026-02-16 18:19:36 -05:00
yindo closed this issue 2026-02-16 18:19:36 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14856