StrategyFinishContext

class StrategyFinishContext<TFeature>(val runId: String, val strategy: AIAgentStrategy<*, *>, val feature: TFeature, val result: Any?, val resultType: KType) : StrategyEventHandlerContext(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)

Properties

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.