Skip to main content
Our docs redesign is live!

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

PropTypeRequiredDescription
sourcesConciergeSource[]yes{ key, value } pairs from the agents SDK
initialVisibleCountnumbernoMax sources shown before expand (default 5)

Behavior

  • Returns null for 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 with rel="noopener noreferrer".