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
Bug: BYO "Provider model id" typed but not added is silently discarded — Save commits an empty model list #2679
On the agent Credentials form (Bring your own credentials → Models), a model id typed into "Provider model id" but not explicitly committed (Enter or + Add model) is silently thrown away: typing alone never dirties the form, and when Save is enabled by an unrelated pending change, saving commits an empty model list — no error, no warning. The manual guide's own F19 steps ("fill Provider model id → Save") lose the value.
Switch an external/coding agent's Credentials to BYO.
Type claude-opus-4-20250514 into Provider model id; do not press Enter.
Click Save (enabled by the credentials-mode change) → config persists with no models; the typed text vanishes. Committing via Enter/+ Add model works and persists correctly.
Code pointers
Agent editor Instructions/Credentials form — the BYO models list input (free-text + "+ Add model") under services/platform/app/features/agents/ (the pending input value is not treated as part of the form state)
Proposed change
Standard combobox hygiene: commit the pending text on blur/Save (or block Save with an inline "press Add model" hint while uncommitted text is present). Silently dropping typed input is the one wrong option.
Acceptance criteria
Typed-but-uncommitted model id is either auto-committed on Save/blur or Save is blocked with an inline message
Guide F19's literal steps (type → Save) persist the model after reload
Activity