prepareContext

abstract suspend fun prepareContext(agentInput: Input, runId: String): TContext(source)

Prepares and initializes the agent context required to handle the given input and run ID.

Return

the initialized context specific to the agent setup for the provided input and run ID.

Parameters

agentInput

the input provided to the agent for processing.

runId

a unique identifier representing the current execution or operation run.