updateAgent

fun <T : Any> updateAgent(agent: Agent<T>, config: T.() -> Unit = {})(source)

Updates the agent with the provided configuration.

Parameters

agent

The agent to update.

config

The configuration block for the agent.

Type Parameters

T

The type of the agent configuration.