Install
openclaw skills install neural-network-diagnosticsDiagnoses and tunes LLM providers (Groq, OpenRouter, Ollama), resolves rate limits/timeouts, and selects stable primary/fallback models. Use when the bot is silent, responses are slow, provider errors appear, or model routing/fallbacks need adjustment.
openclaw skills install neural-network-diagnosticsKeep OpenClaw responsive by managing model providers, routing, and fallback behavior.
Run these checks first:
systemctl is-active openclaw-gateway ollama
journalctl -u openclaw-gateway -n 40 --no-pager
free -h
Focus on these log patterns:
rate limit reachedModel context window too smallUnknown modelNo endpoints availablesendMessage failedembedded run timeoutRemoved orphaned user messageUse this default priority for production:
groq/llama-3.3-70b-versatile (fastest cloud path)openrouter/xiaomi/mimo-v2-pro (high quality backup)openrouter/meta-llama/llama-3.3-70b-instruct:freeollama/qwen2.5:7b (last-resort local fallback)Avoid 35B local models on 30GB RAM CPU servers for real-time Telegram replies.
For local Ollama fallbacks:
contextWindow >= 16000maxTokens moderate (1024-2048) for latencyExample local provider entry:
{
"id": "qwen2.5:7b",
"name": "Qwen 2.5 7B (local)",
"contextWindow": 32768,
"maxTokens": 2048
}
journalctl -u openclaw-gateway --since '10 min ago' --no-pager
If sendMessage failed, check network/provider errors first, then restart:
systemctl restart openclaw-gateway
orphaned user messagesystemctl stop openclaw-gateway
rm -rf /root/.openclaw/.openclaw/agents/main/sessions/*
echo '{}' > /root/.openclaw/.openclaw/agents/main/sessions/sessions.json
chmod 600 /root/.openclaw/.openclaw/agents/main/sessions/sessions.json
systemctl start openclaw-gateway
systemctl restart ollama
curl -s -X POST http://127.0.0.1:11434/api/chat \
-H 'Content-Type: application/json' \
-d '{"model":"qwen2.5:7b","messages":[{"role":"user","content":"hi"}],"stream":false}'
When reporting health, return:
## Status
- Gateway: <active/inactive>
- Telegram provider: <connected/stalled>
- Primary model: <provider/model>
- Fallback chain: <ordered list>
## Findings
- <most critical issue first>
- <secondary issues>
## Actions Applied
- <exact changes made>
## Next Step
- <single user action to verify>