Skip to content

Commit 5d8401c

Browse files
committed
readme : list possible token healing values
1 parent 50af2fc commit 5d8401c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/server/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -266,7 +266,7 @@ node index.js
266266

267267
`json_schema`: Set a JSON schema for grammar-based sampling (e.g. `{"items": {"type": "string"}, "minItems": 10, "maxItems": 100}` of a list of strings, or `{}` for any JSON). See [tests](../../tests/test-json-schema-to-grammar.cpp) for supported features. Default: no JSON schema.
268268

269-
`token_healing`: Set token healing strategy. Default: `0`, which is disabled.
269+
`token_healing`: Set the token healing strategy. Default: `0`, which is disabled. Possible values: `1` to replace one token, `d1` to replace the longest suffix with a single token, `d` to replace the longest suffix, `rN` to roll back N tokens (e.g. `r3`). See [here](../main/README.md#token-healing) for more details.
270270

271271
`seed`: Set the random number generator (RNG) seed. Default: `-1`, which is a random seed.
272272

0 commit comments

Comments
 (0)