Write a symptom-first troubleshooting guide

オープン
#39 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
42/100
issue の種類
ドキュメント
明瞭さ
おおむね明確
活発さ
活発
技術スタック
ollama, rust

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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

主要言語
Rust
スター
0
フォーク
0
PR マージ指標
30日以内にマージされた PR はありません

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

GotinhaAzul/LocalHarness のほかの issue

GotinhaAzul/LocalHarness の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。