From: Pascal Date: Fri, 17 Oct 2025 08:35:03 +0000 (+0200) Subject: webui: reorganize settings layout (#16607) X-Git-Tag: upstream/0.0.7011~224 X-Git-Url: https://git.djapps.eu/?a=commitdiff_plain;h=ababae7e1ec3e9cfdab0322ee55ea3389e82a4d5;p=pkg%2Fggml%2Fsources%2Fllama.cpp webui: reorganize settings layout (#16607) * webui: reorganize settings layout * chore: update webui build output * fix: remove unused variable * chore: update webui build output --- diff --git a/tools/server/public/index.html.gz b/tools/server/public/index.html.gz index 34818012..c76f5778 100644 Binary files a/tools/server/public/index.html.gz and b/tools/server/public/index.html.gz differ diff --git a/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte b/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte index d5d4c7fe..bf176330 100644 --- a/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte +++ b/tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte @@ -4,7 +4,7 @@ Funnel, AlertTriangle, Brain, - Cog, + Code, Monitor, Sun, Moon, @@ -88,9 +88,59 @@ ] }, { - title: 'Samplers', + title: 'Sampling', icon: Funnel, fields: [ + { + key: 'temperature', + label: 'Temperature', + type: 'input' + }, + { + key: 'dynatemp_range', + label: 'Dynamic temperature range', + type: 'input' + }, + { + key: 'dynatemp_exponent', + label: 'Dynamic temperature exponent', + type: 'input' + }, + { + key: 'top_k', + label: 'Top K', + type: 'input' + }, + { + key: 'top_p', + label: 'Top P', + type: 'input' + }, + { + key: 'min_p', + label: 'Min P', + type: 'input' + }, + { + key: 'xtc_probability', + label: 'XTC probability', + type: 'input' + }, + { + key: 'xtc_threshold', + label: 'XTC threshold', + type: 'input' + }, + { + key: 'typ_p', + label: 'Typical P', + type: 'input' + }, + { + key: 'max_tokens', + label: 'Max tokens', + type: 'input' + }, { key: 'samplers', label: 'Samplers', @@ -152,68 +202,17 @@ key: 'showThoughtInProgress', label: 'Show thought in progress', type: 'checkbox' - }, - { - key: 'disableReasoningFormat', - label: - 'Show raw LLM output without backend parsing and frontend Markdown rendering to inspect streaming across different models.', - type: 'checkbox' } ] }, { - title: 'Advanced', - icon: Cog, + title: 'Developer', + icon: Code, fields: [ { - key: 'temperature', - label: 'Temperature', - type: 'input' - }, - { - key: 'dynatemp_range', - label: 'Dynamic temperature range', - type: 'input' - }, - { - key: 'dynatemp_exponent', - label: 'Dynamic temperature exponent', - type: 'input' - }, - { - key: 'top_k', - label: 'Top K', - type: 'input' - }, - { - key: 'top_p', - label: 'Top P', - type: 'input' - }, - { - key: 'min_p', - label: 'Min P', - type: 'input' - }, - { - key: 'xtc_probability', - label: 'XTC probability', - type: 'input' - }, - { - key: 'xtc_threshold', - label: 'XTC threshold', - type: 'input' - }, - { - key: 'typ_p', - label: 'Typical P', - type: 'input' - }, - { - key: 'max_tokens', - label: 'Max tokens', - type: 'input' + key: 'disableReasoningFormat', + label: 'Show raw LLM output', + type: 'checkbox' }, { key: 'custom',