llama.cpp_AlgMor24_github / tools /ui /src /lib /enums /settings.enums.ts
Brunobkr's picture
Upload folder using huggingface_hub (part 55)
9360279 verified
Raw History Blame Contribute Delete
570 Bytes
/**
* Parameter source - indicates whether a parameter uses default or custom value
*/
export enum ParameterSource {
DEFAULT = 'default',
CUSTOM = 'custom'
}
/**
* Syncable parameter type - data types for parameters that can be synced with server
*/
export enum SyncableParameterType {
NUMBER = 'number',
STRING = 'string',
BOOLEAN = 'boolean'
}
/**
* Settings field type - defines the input type for settings fields
*/
export enum SettingsFieldType {
INPUT = 'input',
TEXTAREA = 'textarea',
CHECKBOX = 'checkbox',
SELECT = 'select',
RADIO = 'radio'
}