AgentCompletedContext

data class AgentCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val agentId: String, 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, agentId: String, runId: String, result: Any?)

Properties

Link copied to clipboard

The unique identifier of the agent that completed its 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

The execution information containing parentId and current execution path;

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.