Source Url
class SourceUrl(val sourceId: String, val url: String, val title: String? = null, val providerMetadata: ProviderMetadata = ProviderMetadata.None) : UIMessagePart(source)
URL-shaped citation / web grounding source. Per historical parity gap #29, this is the split from a single unified Source variant — v6's SourceUrlUIPart.
sourceId is the provider's stable handle for the source so repeated mentions across multiple parts can be deduped.
Since
0.3.0-beta01
Constructors
Link copied to clipboard
constructor(sourceId: String, url: String, title: String? = null, providerMetadata: ProviderMetadata = ProviderMetadata.None)