AgentSourcesPart class final

The sources an answer refers to, such as "2 files referenced".

Maps the AI SDK's source-url and source-document parts.

Inheritance

Constructors

AgentSourcesPart(List<AgentSource> sources)
Creates a sources part.
const

Properties

hashCode → int
The hash code for this object.
no setteroverride
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
sources → List<AgentSource>
The sources in order.
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
override

Operators

operator ==(Object other) → bool
The equality operator.
override