StrategyStartingContext
class StrategyStartingContext(val eventId: String, val executionInfo: AgentExecutionInfo, val context: AIAgentContext, val strategy: AIAgentStrategy<*, *, *>, val input: Any?) : StrategyEventContext(source)
Represents the context for updating AI agent strategies during execution.
Constructors
Link copied to clipboard
constructor(eventId: String, executionInfo: AgentExecutionInfo, context: AIAgentContext, strategy: AIAgentStrategy<*, *, *>, input: Any?)
Properties
Link copied to clipboard
The AI agent context.
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 input passed to strategy. Typed as Any? because AIAgentStrategy does not yet carry its input type (mirrors the same convention used by StrategyCompletedContext.result).
Link copied to clipboard
The strategy being handled or updated, encapsulating the AI agent's workflow logic.