@ai-matrx/agents 0.13.9 → 0.13.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -2207,7 +2207,8 @@ function AgentListDropdown({
2207
2207
  ...excludeAgentIds ? { excludeAgentIds } : {},
2208
2208
  ...defaultMandateKey ? { defaultMandateKey } : {}
2209
2209
  });
2210
- const displayLabel = label ?? pinnedAgent?.name ?? (activeAgentId ? isLoading ? labels.triggerResolving : labels.triggerUnnameable : labels.triggerFallback);
2210
+ const activeDefaultRow = defaultRow?.row?.id === activeAgentId ? defaultRow.row : null;
2211
+ const displayLabel = label ?? pinnedAgent?.name ?? activeDefaultRow?.name ?? (activeAgentId ? isLoading ? labels.triggerResolving : labels.triggerUnnameable : labels.triggerFallback);
2211
2212
  const showAssignedTooltip = Boolean(activeAgentId) && displayLabel.trim().length > 0 && displayLabel !== "Select an agent" && displayLabel !== labels.triggerFallback;
2212
2213
  const handleOpen = (nextOpen) => {
2213
2214
  setOpen(nextOpen);