One entry of generateText().sources after merge (tool URLs plus provider sources). Same item type as AI SDK GenerateTextResult['sources'] (sourceType: 'url' | 'document'). ai does not export a named Source type.
generateText().sources
GenerateTextResult['sources']
sourceType: 'url' | 'document'
ai
Source
One entry of
generateText().sourcesafter merge (tool URLs plus provider sources). Same item type as AI SDKGenerateTextResult['sources'](sourceType: 'url' | 'document').aidoes not export a namedSourcetype.