Troubleshooting
Troubleshooting matrix: models failing, latency exploding, answers stale
Every failure has one first check and one safe recovery path.
Ollama not responding
Start ollama serve; confirm 11434; check memory for model; confirm model name exactly matches pulled tag.
Remote Ollama via SSH fails
Key must be unencrypted; use ssh-agent; confirm host user permissions on model path.
Knowledge answers missing context
Check index status stale; rebuild from source; confirm relevance score threshold.
Cost skyrocketing
Audit per-model rows; move hot loops to small models; set quota guard rails.
App hangs on long answer
Context exceeded; lower max tokens; split ask; ensure streaming enabled.
Artifacts missing history
Check ownership and workspace; artifacts stay in the workspace that created them.