Open History to see the last commit
1---
2id: FileSourceCapable
3title: FileSourceCapable
4---
5
6Defined in: [packages/ai/src/utilities/content-source.ts:74](https://github.com/TanStack/ai/blob/main/packages/ai/src/utilities/content-source.ts#L74)
7
8The slice of an adapter the file-source preflight reads. Adapters that can
9consume `{ type: 'file' }` sources declare `supportsFileSources: true`;
10everything else — including adapters written before this arm existed —
11fails closed at the activity layer instead of falling through to a
12URL/data branch and silently mis-mapping the reference.
13
14## Properties
15
16### name
17
18```ts
19name: string;
20```
21
22Defined in: [packages/ai/src/utilities/content-source.ts:75](https://github.com/TanStack/ai/blob/main/packages/ai/src/utilities/content-source.ts#L75)
23
24***
25
26### supportsFileSources?
27
28```ts
29optional supportsFileSources?: boolean;
30```
31
32Defined in: [packages/ai/src/utilities/content-source.ts:76](https://github.com/TanStack/ai/blob/main/packages/ai/src/utilities/content-source.ts#L76)