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
Custom agent names are identifiers loaded from .opencode/agent/*.md (for example smart-db, my-agent).
The legacy prompt agent selector in packages/app/src/components/prompt-input.tsx applies Tailwind's capitalize class to the selected agent label. CSS text-transform: capitalize uppercases the first letter of each word, so identifiers are shown incorrectly:
smart-db → Smart-Db
my-agent → My-Agent
Agent names should be displayed exactly as defined in config/files, since users reference them by exact identifier.
Expected behavior
The agent selector shows the raw agent identifier (e.g. smart-db).
Actual behavior
The agent selector transforms the label via CSS capitalize (e.g. Smart-Db).
Reproduction
Add a custom agent file such as .opencode/agent/smart-db.md
Open the app prompt input
Select the custom agent in the agent dropdown
Observe the label is capitalized incorrectly
Proposed fix
Remove the capitalize class from the legacy prompt agent Select only. Model variant selector can keep capitalize since variant names are display labels, not identifiers.
Activity
github-actions commentedon Aug 2, 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.