StrategyCompletedContext

class StrategyCompletedContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val strategy: AIAgentStrategy<*, *, *>, val result: Any?, val resultType: TypeToken) : StrategyEventContext(source)

Represents the context associated with the completion of an AI agent strategy execution.

Constructors

Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, strategy: AIAgentStrategy<*, *, *>, result: Any?, resultType: TypeToken)

Properties

Link copied to clipboard
open override val context: AIAgentContext

The AI agent context.

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?

Strategy result.

Link copied to clipboard
val resultType: TypeToken

TypeToken representing the type of the result

Link copied to clipboard
open override val strategy: AIAgentStrategy<*, *, *>

The strategy being handled or updated, encapsulating the AI agent's workflow logic.