AgentCompletedContext

data class AgentCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agent: AIAgent<*, *>, val context: AIAgentContext, val runId: String, val result: Any?) : AgentEventContext(source)

Represents the context for handling the completion of an agent's execution.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, agent: AIAgent<*, *>, context: AIAgentContext, runId: String, result: Any?)

Properties

Link copied to clipboard
open override val agent: AIAgent<*, *>

The AI agent associated with this context.

Link copied to clipboard

The context associated with the agent's execution;

Link copied to clipboard
open override val eventId: String

The unique identifier for the event.

Link copied to clipboard

Represents the specific type of event handled within the event handler context, categorizing the nature of agent-related or strategy-related events.

Link copied to clipboard

Holds execution-specific context information to support observability and tracing during the lifecycle of an agent.

Link copied to clipboard
val result: Any?

The optional result of the agent's execution, if available.

Link copied to clipboard

The identifier of the session in which the agent was executed;