LlmRouterOptions
Interface: LlmRouterOptions
Defined in: src/patterns/LlmRouter.ts:142
Properties
agents
readonlyagents: readonlyRouterAgent[]
Defined in: src/patterns/LlmRouter.ts:148
The roster. Two or more agents; ids must be unique.
id?
readonlyoptionalid?:string
Defined in: src/patterns/LlmRouter.ts:162
Stable id used in events + stage ids. Default 'router'.
instruction?
readonlyoptionalinstruction?:string
Defined in: src/patterns/LlmRouter.ts:154
Extra authored framing, placed before the roster ("Prefer billing for anything money-shaped"). Your words, trusted — unlike descriptions, which ride as data.
model
readonlymodel:string
Defined in: src/patterns/LlmRouter.ts:146
Model to ask.
name?
readonlyoptionalname?:string
Defined in: src/patterns/LlmRouter.ts:164
Display name. Default 'Router'.
provider
readonlyprovider:LLMProvider
Defined in: src/patterns/LlmRouter.ts:144
The LLM that makes the decision.
temperature?
readonlyoptionaltemperature?:number
Defined in: src/patterns/LlmRouter.ts:160
Sampling temperature for the routing call. Defaults to 0 — routing
is a classification, and the same message should reach the same
specialist twice running.
