mirror of
https://github.com/ggml-org/llama.cpp.git
synced 2026-10-03 19:37:29 -05:00
ui : add the Enable Discover Models setting
The flag gates browsing and downloading HuggingFace GGUF models, so it is declared on the discover layer; the repo-tree lookup in the manager layer above reads it from here. Assisted-by: pi:llama.cpp/DeepSeek-V4.1-Flash
This commit is contained in:
@@ -26,6 +26,7 @@ export const SETTINGS_KEYS = {
|
||||
DYNATEMP_EXPONENT: 'dynatemp_exponent',
|
||||
DYNATEMP_RANGE: 'dynatemp_range',
|
||||
ENABLE_CONTINUE_GENERATION: 'enableContinueGeneration',
|
||||
ENABLE_DISCOVER_MODELS: 'enableDiscoverModels',
|
||||
EXCLUDE_REASONING_FROM_CONTEXT: 'excludeReasoningFromContext',
|
||||
FREQUENCY_PENALTY: 'frequency_penalty',
|
||||
FULL_HEIGHT_CODE_BLOCKS: 'fullHeightCodeBlocks',
|
||||
|
||||
@@ -128,6 +128,13 @@ export const SETTINGS_REGISTRY: SettingsSectionEntry[] = [
|
||||
label: 'Enable "Continue" button',
|
||||
type: SettingsFieldType.CHECKBOX
|
||||
},
|
||||
{
|
||||
defaultValue: true,
|
||||
help: 'Show the Discover Models sidebar action to browse and download HuggingFace GGUF models. Only available in router mode.',
|
||||
key: SETTINGS_KEYS.ENABLE_DISCOVER_MODELS,
|
||||
label: 'Enable Discover Models',
|
||||
type: SettingsFieldType.CHECKBOX
|
||||
},
|
||||
{
|
||||
defaultValue: true,
|
||||
help: 'Fetch model metadata (avatars, context length, chat template, file sizes) from the Hugging Face Hub. When off, the UI only shows what the server reports for /v1/models and hides the org avatars.',
|
||||
|
||||
Reference in New Issue
Block a user