install
fun <Config : FeatureConfig, Feature : Any> install(feature: AIAgentFeature<Config, Feature>, configure: Config.() -> Unit)(source)
Installs a feature into the pipeline with the provided configuration.
This method initializes the feature with a custom configuration and registers it in the pipeline. The feature's message processors are initialized during installation.
Parameters
Config
The type of the feature configuration
Feature
The type of the feature being installed
feature
The feature implementation to be installed
configure
A lambda to customize the feature configuration