Write a symptom-first troubleshooting guide

Abierto
#39 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
42/100
Tipo de issue
Documentación
Claridad
Bastante claro
Estado de actividad
Activo
Stack tecnológico
ollama, rust

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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

Lenguaje dominante
Rust
Estrellas
0
Forks
0
Métricas de merge de PR
Sin PR fusionados en 30 d

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de GotinhaAzul/LocalHarness

Todos los issues de GotinhaAzul/LocalHarness

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.