agentConfig

expect open override fun agentConfig(config: AIAgentConfig): AIAgentServiceBuilder(source)

Configures the AI agent service builder using the specified agent configuration.

This method applies the parameters defined in the provided AIAgentConfig object to the current instance of the AIAgentServiceBuilder. It sets the prompt, language model, maximum number of iterations, and the strategy for handling missing tools during execution.

Return

The current instance of AIAgentServiceBuilder for method chaining.

Parameters

config

The configuration object containing the settings to be applied, including the prompt, model, maximum agent iterations, and missing tools conversion strategy.

actual open override fun agentConfig(config: AIAgentConfig): AIAgentServiceBuilder(source)

Configures the AI agent service builder using the specified agent configuration.

This method applies the parameters defined in the provided AIAgentConfig object to the current instance of the AIAgentServiceBuilder. It sets the prompt, language model, maximum number of iterations, and the strategy for handling missing tools during execution.

Return

The current instance of AIAgentServiceBuilder for method chaining.

Parameters

config

The configuration object containing the settings to be applied, including the prompt, model, maximum agent iterations, and missing tools conversion strategy.

actual open override fun agentConfig(config: AIAgentConfig): AIAgentServiceBuilder(source)

Configures the AI agent service builder using the specified agent configuration.

This method applies the parameters defined in the provided AIAgentConfig object to the current instance of the AIAgentServiceBuilder. It sets the prompt, language model, maximum number of iterations, and the strategy for handling missing tools during execution.

Return

The current instance of AIAgentServiceBuilder for method chaining.

Parameters

config

The configuration object containing the settings to be applied, including the prompt, model, maximum agent iterations, and missing tools conversion strategy.