Exception: Legion::LLM::InvalidLane
- Defined in:
- lib/legion/llm/errors.rb
Overview
Raised when a request targets a model excluded by a provider’s configured model_whitelist / model_blacklist. This is a terminal policy outcome, not a provider failure: it is non-retryable (inherited) and must not be escalated, must not trip a circuit breaker, and must not deny-record the model — the escalation loop re-raises it immediately rather than trying the next model. Raised when a write_lane call fails validation: missing :id, malformed :id, or field values outside the Taxonomies enums (tier/type). Non-retryable — the lane writer has a programming error that must be fixed.