Skip to content

RoutingCandidateOptions

Defined in: src/models/routing/router.ts:38

Construction data for a RoutingCandidate.

readonly model:
| Model<BaseModelConfig>
| ModelRouter;

Defined in: src/models/routing/router.ts:40

Concrete model or opaque nested router.


readonly name?: string;

Defined in: src/models/routing/router.ts:42

Optional strategy-facing name.


readonly description?: string;

Defined in: src/models/routing/router.ts:44

Optional strategy-facing description.


readonly metadata?: Readonly<Record<string, JSONValue>>;

Defined in: src/models/routing/router.ts:46

Optional strategy-facing evidence; must be JSON-serializable and free of secrets.