You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
web: agent/model dropdown truncates full model names instead of showing complete text #20968
The agent and model selector dropdowns truncate model names with ellipsis, making it impossible to distinguish between similarly-named models (e.g., "claude-sonnet-4-2025..." vs "claude-sonnet-4-2026..."). This affects both the trigger button and the dropdown list items.
3. Model selector dropdown list (dialog-select-model.tsx, line ~77):
<spanclass="truncate">{i.name}</span>// ← truncates in popup too
The TailwindCSS truncate utility sets overflow: hidden; text-overflow: ellipsis; white-space: nowrap. Combined with max-w-[160px] / max-w-[320px], longer model names are cut off even in the dropdown where there's plenty of room.
Expected behavior:
The trigger button can truncate (space is limited) — but should show the full name in a tooltip on hover/long-press
The dropdown list should show full model names without truncation — users need to read and distinguish between models
On mobile, consider showing provider + model name on separate lines in the dropdown
Proposed fix for dropdown list:
// dialog-select-model.tsx — remove truncate from list items<spanclass="break-words">{i.name}</span>
Plugins
No response
OpenCode version
Latest (dev branch)
Steps to reproduce
Open OpenCode web UI
Click the model selector dropdown in the bottom toolbar
Observe: model names like "claude-sonnet-4-20250514" or "gpt-4o-2025-03-15" are truncated with "..."
Try to distinguish between models with similar name prefixes
Also observe: the agent selector truncates agent names at 160px
Screenshot and/or share link
No response
Operating System
Any — more prominent on mobile due to smaller viewport
Activity
github-actions commentedon Jul 3, 2026
To stay organized issues are automatically closed after 60 days of no activity. If the issue is still relevant please open a new one.