RoutingContext
Defined in: src/models/routing/strategy.ts:16
Read-only inputs supplied to a routing strategy.
Properties
Section titled “Properties”messages
Section titled “messages”readonly messages: Message[];Defined in: src/models/routing/strategy.ts:18
Fresh copy of the messages for this strategy ask.
systemPrompt?
Section titled “systemPrompt?”readonly optional systemPrompt?: SystemPrompt;Defined in: src/models/routing/strategy.ts:20
Fresh copy of the system prompt for this strategy ask.
toolSpecs
Section titled “toolSpecs”readonly toolSpecs: ToolSpec[];Defined in: src/models/routing/strategy.ts:22
Fresh copy of tool specifications for this strategy ask.
candidates
Section titled “candidates”readonly candidates: readonly RoutingCandidate[];Defined in: src/models/routing/strategy.ts:24
Stable configured candidate instances.
invocationState
Section titled “invocationState”readonly invocationState: Readonly<InvocationState>;Defined in: src/models/routing/strategy.ts:26
Live invocation state, exposed as read-only.
attempts
Section titled “attempts”readonly attempts: readonly RoutingAttempt[];Defined in: src/models/routing/strategy.ts:28
Chronological attempts made during this invocation.