Skip to main content

Module auto_routing

Module auto_routing 

Source
Expand description

Legacy model=auto wire types, kept for compatibility only.

The types live in lean_ctx_protocol and are a frozen experimental surface (security/public-protocol-surface-freeze-v1.json: not removed before the next protocol major). The Engine re-exports them and does nothing with them: the proxy never selects, ranks or substitutes a model or provider, and holds no gate that would admit such a selection. The former cost-improvement gate (check_auto_eligibility) is removed.

Structs§

AutoRoutingConfig
Runtime configuration for the public model=auto surface.
AutoRoutingEvidence
Observed shadow-scheduler performance used to evaluate SchedulerGate.
AutoRoutingRequest
Request envelope sent to an auto-routing boundary.
RoutingDecision
Candidate selected by a control plane, with a portable fallback reference.
RoutingReceipt
Receipt fields that preserve the requested and selected model lineage.
SchedulerGate
Evidence thresholds that a shadow scheduler must satisfy before auto-routing.

Enums§

RoutingMode
Requested routing behavior at the public client or gateway boundary.