[PR #12332] fix(tui): deduplicate models in selector dialog #14173

Open
opened 2026-02-16 18:18:58 -05:00 by yindo · 0 comments
Owner

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

State: open
Merged: No


Summary

Removes duplicate model entries in the model selector dialog.

Fixes #12331

Changes

  • Added uniqueBy to dedupe models by category + base title
  • When both "Model X" and "Model X (latest)" exist, keeps the (latest) version

Verification

Tested locally - duplicate entries (e.g. Claude Opus 4.6 appearing twice) no longer show.

**Original Pull Request:** https://github.com/anomalyco/opencode/pull/12332 **State:** open **Merged:** No --- ## Summary Removes duplicate model entries in the model selector dialog. Fixes #12331 ## Changes - Added `uniqueBy` to dedupe models by category + base title - When both "Model X" and "Model X (latest)" exist, keeps the (latest) version ## Verification Tested locally - duplicate entries (e.g. Claude Opus 4.6 appearing twice) no longer show.
yindo added the pull-request label 2026-02-16 18:18:58 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#14173