feature
Retrieves a feature from the agent's storage using the specified key.
Return
The feature associated with the provided key, or null if no matching feature is found.
Parameters
key
A uniquely identifying key of type AIAgentStorageKey
used to fetch the corresponding feature.
Retrieves a feature of the specified type from the current context.
Return
The feature instance of type Feature, or null if the feature is not available in the context.
Parameters
feature
The AIAgentFeature instance representing the feature to retrieve. This parameter defines the configuration and unique identity of the feature.