llama-cpp-d ~master (2026-03-20T18:06:26.5280947)
Dub
Repo
isControl
llama
vocab
True if the token is a control token (not renderable text).
@
trusted
@
nogc
nothrow
bool
isControl
(
const
(
llama_vocab
)*
vocab
,
llama_token
token
)
Meta
Source
See Implementation
llama
vocab
functions
bosToken
detokenize
eosToken
eotToken
fimMidToken
fimPadToken
fimPreToken
fimRepToken
fimSepToken
fimSufToken
isControl
isEog
nlToken
padToken
sepToken
tokenAttr
tokenScore
tokenText
tokenToString
tokenize
vocabType
True if the token is a control token (not renderable text).