mirror of
https://github.com/openclaw/openclaw.git
synced 2026-07-03 13:33:35 +00:00
The generic assistant error text "LLM request failed." (GENERIC_ASSISTANT_ERROR_TEXT) is produced by formatUserFacingAssistantErrorText when the underlying provider error cannot be formatted into a specific category. For local providers (LM Studio, Ollama) this wraps connection/availability failures when the model is not loaded or the endpoint is unreachable. Without this match, the error is not classified as any transient type (rate_limit, overloaded, network, server_error, timeout), so cron retry and payload.fallbacks never engage — even though the configured fallback chain should handle provider availability failures. Add /^llm request failed\.$/i as an exact-match regex in the timeout error patterns. This strictly matches only the bare "LLM request failed." string, not variants like "LLM request failed: provider rejected the request schema or tool payload." (which is a format/schema error, not transient). Variants with specific transient reasons (connection refused, network error, etc.) are classified through their own existing patterns. Closes #93931