Download tools/server/webui/src/lib/constants/settings-fields.ts from OpenTransformer/llama.cpp-prismml: direct link, hf CLI and curl.
- Browser
- Download file 785 Bytes
-
https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tools/server/webui/src/lib/constants/settings-fields.ts
- Command line
-
hf download hf://OpenTransformer/llama.cpp-prismml/tools/server/webui/src/lib/constants/settings-fields.ts
-
curl -L -o settings-fields.ts https://huggingface.co/OpenTransformer/llama.cpp-prismml/resolve/main/tools/server/webui/src/lib/constants/settings-fields.ts
785 Bytes
| /** | |
| * List of all numeric fields in settings configuration. | |
| * These fields will be converted from strings to numbers during save. | |
| */ | |
| export const NUMERIC_FIELDS = [ | |
| 'temperature', | |
| 'top_k', | |
| 'top_p', | |
| 'min_p', | |
| 'max_tokens', | |
| 'pasteLongTextToFileLen', | |
| 'dynatemp_range', | |
| 'dynatemp_exponent', | |
| 'typ_p', | |
| 'xtc_probability', | |
| 'xtc_threshold', | |
| 'repeat_last_n', | |
| 'repeat_penalty', | |
| 'presence_penalty', | |
| 'frequency_penalty', | |
| 'dry_multiplier', | |
| 'dry_base', | |
| 'dry_allowed_length', | |
| 'dry_penalty_last_n', | |
| 'agenticMaxTurns', | |
| 'agenticMaxToolPreviewLines' | |
| ] as const; | |
| /** | |
| * Fields that must be positive integers (>= 1). | |
| * These will be clamped to minimum 1 and rounded during save. | |
| */ | |
| export const POSITIVE_INTEGER_FIELDS = ['agenticMaxTurns', 'agenticMaxToolPreviewLines'] as const; | |