From 41e21f5013b3f49cf79e1a4a13626f9603c5d429 Mon Sep 17 00:00:00 2001 From: elanonimo832 <330228128+elanonimo832@users.noreply.github.com> Date: Wed, 7 Oct 2026 00:58:11 +0200 Subject: [PATCH] engine: document --spec and --spec-min-p in --help (#1198) --- src/program/generate.cpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/program/generate.cpp b/src/program/generate.cpp index 04b30939..70182873 100644 --- a/src/program/generate.cpp +++ b/src/program/generate.cpp @@ -753,6 +753,10 @@ void usage() { " --suffix-draft N prompt lookup: draft from an earlier repeat of the last N+ tokens of context\n" " when it pays (default 3; 0 = MTP only)\n" " --mtp-max-t M cap the MTP's windows at M tokens (0 = --spec; longer ones come from suffixes)\n" + " --spec N the MTP drafter's verify window: how many tokens it proposes per check (setup\n" + " writes 4; --suffix-draft lets it grow by 2, up to 8, where a repeat is likely)\n" + " --spec-min-p P how sure the draft layer must be to extend a verify window by another guess\n" + " (setup writes 0.5; --calibrate measures it on this PC, see docs/DETAILS.md)\n" " --lookup-chain K opt-in: after the MTP's drafts, add up to K prompt-lookup drafts that continue\n" " them (the window grows to at most 8; default 0 = off)\n" " --lookup-chain-min M the shortest context match --lookup-chain extends on (default 3)\n"