ChatSources (concierge)
Renders concierge source citations (ConciergeSource[]) as pill chips. URL values become external links with an arrow_outward icon; other values render as static chips with a tooltip.
components/molecules/concierge/ChatSources.tsx
Props
| Prop | Type | Required | Description |
|---|---|---|---|
sources | ConciergeSource[] | yes | { key, value } pairs from the agents SDK |
initialVisibleCount | number | no | Max sources shown before expand (default 5) |
Behavior
- Returns
nullfor an empty list. - Shows up to five source pills by default; when there are more, a Show N more sources control expands the full list and Show fewer sources collapses it again.
- Values starting with
http(s)://open in a new tab withrel="noopener noreferrer".