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(ui): A2A tab hides "Choose…" for advertised skills after exposure is switched on in the tab #3702
On an agent's A2A tab, the Choose… control that curates which skills the Agent Card advertises (ent#180) is missing when exposure was switched on from that same tab. The skill chips render, but the control that hides one does not, and the "Advertising all N capabilities (default)" line is missing too. A reload makes both appear.
Journey Impact: an owner who exposes an agent and then wants to hide a skill from its card finds no control to do it.
Steps to reproduce (dev f6a998f69)
Open an agent whose A2A exposure is off, then go to the A2A tab.
Switch Expose via A2A on.
Look at Advertised skills: the chips are listed, and there is no Choose… and no "Advertising all N capabilities" line.
Reload the page: Choose… appears.
Confirmed in a browser against a local instance. GET /api/agents/{name}/info returns the template capabilities the whole time.
Root cause
src/frontend/src/components/A2aPanel.vue:
load() calls loadSkills()andloadCapabilities(), but only when config.a2a_exposed is true at mount.
onToggle(true) calls only loadSkills().
So a panel mounted while the agent was unexposed never fills capabilities. Choose… and the default line are both v-if on capabilities.length.
Acceptance criteria
Switching exposure on from the tab shows Choose… and the default line without a reload.
A unit test mounts the panel on an unexposed agent, toggles exposure on, and asserts Choose… renders.
Activity
Merge pull request #3704 from Abilityai/fix/3702-a2a-choose-after-expose
fix(ui): A2A tab shows "Choose…" right after exposure is switched on (A…