StrategyCompletedContext

class StrategyCompletedContext(val strategy: AIAgentStrategy<*, *, *>, val context: AIAgentContext, val result: Any?, val resultType: KType) : StrategyEventContext(source)

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

Constructors

Link copied to clipboard
constructor(strategy: AIAgentStrategy<*, *, *>, context: AIAgentContext, result: Any?, resultType: KType)

Properties

Link copied to clipboard

The identifier for this agent.

Link copied to clipboard

The context associated with the strategy's 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?

Strategy result.

Link copied to clipboard

KType representing the type of the result

Link copied to clipboard

The unique identifier for this run.

Link copied to clipboard

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