feature
inline fun <TFeature : Any> StatefulSingleUseAIAgent<*, *, *>.feature(feature: AIAgentFeature<*, TFeature>): TFeature?(source)
Retrieves a feature from the StatefulSingleUseAIAgent.pipeline associated with this agent using the specified key.
Return
The feature associated with the provided key, or null if no matching feature is found.
Parameters
feature
A feature to fetch.
Throws
if the specified feature does not correspond to a registered feature.