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§
- Adaptive
Config - Adaptive threshold adjustment configuration.
- Routing
Config - Configuration for the model routing layer.
Functions§
- validate
- Validate a
RoutingConfig, returning a list of human-readable errors.