Skip to content

FileChip

FileChip(__namedParameters): ReactElement

Defined in: react/components/agent/file-chip.tsx:27

A clickable file-reference chip for citing sources in an assistant message — 📄 app.ts:42. Shows the basename (full path goes to onOpen), so a model can point at exactly where it read or changed something.

<FileChip path="src/core/app.ts" line={42} onOpen={openInEditor} />

FileChipProps

ReactElement