run

open suspend override fun run(agentInput: String)(source)

Initiates the execution of the AI agent based on the provided input prompt.

Parameters

agentInput

the input text that guides the agent's behavior or response generation


suspend fun run(builder: suspend TextContentBuilder.() -> Unit)(source)