StrategyCompletedContext

class StrategyCompletedContext<TFeature>(val runId: String, val strategy: AIAgentStrategy<*, *, *>, val feature: TFeature, val result: Any?, val resultType: KType, val agentId: String) : StrategyEventContext(source)

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

Parameters

TFeature

The type of feature associated with the strategy update.

Constructors

Link copied to clipboard
constructor(runId: String, strategy: AIAgentStrategy<*, *, *>, feature: TFeature, result: Any?, resultType: KType, agentId: String)

Properties

Link copied to clipboard
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 feature bound to the strategy update, providing additional contextual information.

Link copied to clipboard
val result: Any?

Strategy result.

Link copied to clipboard

KType representing the type of the result

Link copied to clipboard

A unique identifier for the session during which the strategy is being updated.

Link copied to clipboard

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