ProcessOptionsOperationScheduler

class ProcessOptionsOperationScheduler(val operationDelays: Map<Delay, Long> = mapOf( Delay.NONE to Delay.NONE_MS, Delay.MEDIUM to Delay.MEDIUM_MS, Delay.LONG to Delay.LONG_MS, ), val toolDelays: Map<Delay, Long> = mapOf( Delay.NONE to Delay.NONE_MS, Delay.MEDIUM to Delay.MEDIUM_MS, Delay.LONG to Delay.LONG_MS, )) : OperationScheduler

Operation scheduler driven from process options. Action-level DelayPolicy takes precedence over the process-level fallback.

Constructors

Link copied to clipboard
constructor(operationDelays: Map<Delay, Long> = mapOf( Delay.NONE to Delay.NONE_MS, Delay.MEDIUM to Delay.MEDIUM_MS, Delay.LONG to Delay.LONG_MS, ), toolDelays: Map<Delay, Long> = mapOf( Delay.NONE to Delay.NONE_MS, Delay.MEDIUM to Delay.MEDIUM_MS, Delay.LONG to Delay.LONG_MS, ))

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open override fun scheduleAction(actionExecutionStartEvent: ActionExecutionStartEvent): ActionExecutionSchedule

Resolves the delay for an action using a two-level priority chain:

Link copied to clipboard
open override fun scheduleToolCall(functionCallRequestEvent: ToolCallRequestEvent): ToolCallSchedule