Skip to main content

Module config

Module config 

Source
Expand description

Routing configuration types.

Provides RoutingConfig for tuning complexity thresholds, cost-per-token rates, and adaptive threshold behaviour. All fields have sensible defaults and are (de)serialisable via serde for TOML/JSON config files.

Structs§

AdaptiveConfig
Adaptive threshold adjustment configuration.
RoutingConfig
Configuration for the model routing layer.

Functions§

validate
Validate a RoutingConfig, returning a list of human-readable errors.