+ set("nProbs")(v === 0 ? null : v)
+ }
+ displayValue={
+ params.nProbs == null || params.nProbs === 0
+ ? "Off"
+ : undefined
+ }
+ info="llama.cpp `n_probs`. Return the top-N token probabilities per token (diagnostic)."
+ />
+ ) : null}
+ {advCaps.ignoreEos ? (
+
+
+
+ Ignore EOS
+
+
+ llama.cpp + vLLM. Keep generating past the model's
+ end-of-sequence token. Useful for forcing long replies.
+
+
+
set("ignoreEos")(v ? true : null)}
+ aria-label="Ignore EOS"
+ />
+
+ ) : null}
+ {advCaps.skipSpecialTokens ? (
+
+
+
+ Skip Special Tokens
+
+
+ vLLM `skip_special_tokens`. Default on. Turn off to keep
+ chat-template markers (e.g. `<|im_end|>`) in the
+ decoded output.
+
+
+
+ set("skipSpecialTokens")(v ? null : false)
+ }
+ aria-label="Skip special tokens"
+ />
+
+ ) : null}
+ {advCaps.spacesBetweenSpecialTokens ? (
+
+
+
+ Spaces Between Special Tokens
+
+
+ vLLM `spaces_between_special_tokens`. Default on.
+
+
+
+ set("spacesBetweenSpecialTokens")(v ? null : false)
+ }
+ aria-label="Spaces between special tokens"
+ />
+
+ ) : null}
+ {advCaps.includeStopStrInOutput ? (
+
+
+
+ Include Stop String
+
+
+ vLLM `include_stop_str_in_output`. Echo the matched stop
+ string back in the response (useful for agentic tools).
+
+
+
+ set("includeStopStrInOutput")(v ? true : null)
+ }
+ aria-label="Include stop string in output"
+ />
+
+ ) : null}
+ {advCaps.cachePrompt ? (
+
+
+
+ Cache Prompt
+
+
+ llama.cpp `cache_prompt`. Default on. Reuses the KV cache
+ across requests with shared prefixes.
+
+
+
+ set("cachePrompt")(v ? null : false)
+ }
+ aria-label="Cache prompt"
+ />
+
+ ) : null}
+ {advCaps.returnTokens ? (
+
+
+
+ Return Tokens
+
+
+ llama.cpp `return_tokens`. Include the raw token ids in
+ the response (debug).
+
+
+
+ set("returnTokens")(v ? true : null)
+ }
+ aria-label="Return tokens"
+ />
+
+ ) : null}
+ {advCaps.timingsPerToken ? (
+
+
+
+ Timings Per Token
+
+
+ llama.cpp `timings_per_token`. Per-token wall-clock
+ timings in the response (perf debug).
+
+
+
+ set("timingsPerToken")(v ? true : null)
+ }
+ aria-label="Timings per token"
+ />
+
+ ) : null}
+ {advCaps.postSamplingProbs ? (
+
+
+
+ Post-Sampling Probs
+
+
+ llama.cpp `post_sampling_probs`. Report the
+ post-sampling distribution (sampler debug).
+
+
+
+ set("postSamplingProbs")(v ? true : null)
+ }
+ aria-label="Post-sampling probs"
+ />
+
+ ) : null}
+