ComfyUI Node
llama.cpp Token Ban
Builds a llama-server token-ban list from newline, JSON-array, or legacy comma-separated text entries.
llama.cpp Token Ban
- logit_bias
◄banned_tokens►
◄enabletrue►
CategoryLlamaCpp
Inputs (2)
| Name | Type | Default | Description |
|---|---|---|---|
| banned_tokens | STRING | Text or token strings to ban. Use a JSON array when an entry contains commas or meaningful surrounding whitespace. | |
| enable | BOOLEAN | true | Enable or disable token banning. |
Outputs (1)
| Name | Type | Description |
|---|---|---|
| logit_bias | LOGIT_BIAS | Token-ban entries for an ADV++ Prompt node. |