PlanCompletionEvaluationCompletedContext

class PlanCompletionEvaluationCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val state: Any, val stateType: TypeToken?, val plan: Any, val planType: TypeToken?, val stepIndex: Int, val isCompleted: Boolean) : PlannerEventContext(source)

Represents the context for an isPlanCompleted check completed event.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, state: Any, stateType: TypeToken?, plan: Any, planType: TypeToken?, stepIndex: Int, isCompleted: Boolean)

Properties

Link copied to clipboard
open override val context: AIAgentContext

The Agent context associated with the planner 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

The result of the completion check.

Link copied to clipboard
open override val plan: Any

The current plan being executed or planned.

Link copied to clipboard
open override val planType: TypeToken?

The TypeToken of the plan

Link copied to clipboard
open override val state: Any

The current state of the planner execution.

Link copied to clipboard
open override val stateType: TypeToken?

The TypeToken of the state

Link copied to clipboard
open override val stepIndex: Int

The index of the current step within the plan.