AgentCompletedContext

data class AgentCompletedContext(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(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

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
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.