Write a symptom-first troubleshooting guide

Aperta
#39 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
42/100
Tipo di issue
Documentazione
Chiarezza
Abbastanza chiara
Stato di attività
Attiva
Stack tecnologico
ollama, rust

Direzione di ricerca

Read docs/model-setup.md and docs/configuration.md to see what is already covered, then draft the new docs/troubleshooting.md with one section per symptom listed in the issue. Each section needs a confirm command, cause, fix and link, and the commands must run on a fresh install. Done means all seven symptoms are covered, the guide links to lh doctor and the compatibility matrix, and no first step disables a safety gate.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

area: docs documentation priority: P2

Problem

The current docs explain configuration, but not diagnosis. The common failures all look similar to a new user: the model ignores tools, forgets instructions, repeats itself, takes minutes before the first token, or returns an empty turn. Each has a different cause - template, context, sampler, prefill, parser - and the fix is usually a server flag, not a harness setting.

Evidence

  • docs/model-setup.md: setup-oriented, not symptom-oriented.
  • docs/configuration.md: reference, not diagnosis.
  • Recurring community reports match the same five symptoms.
  • lh doctor (separate issue) will produce the facts the guide needs.

Proposal

Add docs/troubleshooting.md organized by symptom:

  • "Tools are ignored or rejected" -> --jinja, vLLM tool parser flags, template probe.
  • "It forgets the task after a few turns" -> context window, Ollama num_ctx, per-slot context, truncation detection.
  • "It repeats a line or a JSON blob" -> sampler preset, repetition guard, context overflow.
  • "The first token takes minutes" -> prefill, cache hit rate, prompt size, slot contention.
  • "The turn ends with no answer" -> reasoning-only response, parser field, empty tool call.
  • "Edits miss or corrupt files" -> read coverage, edit format, hash anchors.
  • "It is very slow" -> model size vs VRAM, offload, speculative decoding, measured tok/s.

Each entry: symptom, one command to confirm, cause, fix, and a link to the relevant issue or doc.

Acceptance criteria

  • Every symptom has a confirm command and a fix.
  • Commands work on a fresh install.
  • The guide links to lh doctor and the compatibility matrix.
  • No entry recommends disabling a safety gate as a first step.
  • A reader can distinguish harness, server and model causes.

References

Lingua principale
Rust
Stelle
0
Fork
0
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di GotinhaAzul/LocalHarness

Tutte le issue di GotinhaAzul/LocalHarness

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.