llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
SamplerChain.accept
llama
sampling
SamplerChain
Feed the accepted token back (needed for repetition penalties and similar).
struct
SamplerChain
@
nogc
nothrow
void
accept
(
llama_token
token
)
Meta
Source
See Implementation
llama
sampling
SamplerChain
functions
accept
dist
dry
grammar
greedy
logitBias
minP
mirostatV2
penalties
printPerf
sample
temp
tempExt
topK
topNSigma
topP
typical
xtc
mixins
__anonymous
static functions
create
Feed the accepted token back (needed for repetition penalties and similar).