high severityOpenClaw OpenRouter integration (model fallback routing)
Agent crashes with "Agent failed before reply: Unknown model: openrouter/{model}" when primary model is unrecognized/deprecated. Configured fallback models (e.g., openrouter/auto) are ignored, no automatic switch.
Root cause
Model resolution throws plain Error for unknown model IDs instead of FailoverError. Fallback handler runWithModelFallback() only catches FailoverError via coerceToFailoverError(), skipping plain Errors and crashing without trying fallbacks.
OpenRouterOpenClawfallbackunknown modelFailoverErroragent crash