Skip to content

Commit ababae7

Browse files
webui: reorganize settings layout (ggml-org#16607)
* webui: reorganize settings layout * chore: update webui build output * fix: remove unused variable * chore: update webui build output
1 parent b194915 commit ababae7

File tree

2 files changed

+57
-58
lines changed

2 files changed

+57
-58
lines changed

tools/server/public/index.html.gz

-137 Bytes
Binary file not shown.

tools/server/webui/src/lib/components/app/chat/ChatSettings/ChatSettingsDialog.svelte

Lines changed: 57 additions & 58 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
Funnel,
55
AlertTriangle,
66
Brain,
7-
Cog,
7+
Code,
88
Monitor,
99
Sun,
1010
Moon,
@@ -88,9 +88,59 @@
8888
]
8989
},
9090
{
91-
title: 'Samplers',
91+
title: 'Sampling',
9292
icon: Funnel,
9393
fields: [
94+
{
95+
key: 'temperature',
96+
label: 'Temperature',
97+
type: 'input'
98+
},
99+
{
100+
key: 'dynatemp_range',
101+
label: 'Dynamic temperature range',
102+
type: 'input'
103+
},
104+
{
105+
key: 'dynatemp_exponent',
106+
label: 'Dynamic temperature exponent',
107+
type: 'input'
108+
},
109+
{
110+
key: 'top_k',
111+
label: 'Top K',
112+
type: 'input'
113+
},
114+
{
115+
key: 'top_p',
116+
label: 'Top P',
117+
type: 'input'
118+
},
119+
{
120+
key: 'min_p',
121+
label: 'Min P',
122+
type: 'input'
123+
},
124+
{
125+
key: 'xtc_probability',
126+
label: 'XTC probability',
127+
type: 'input'
128+
},
129+
{
130+
key: 'xtc_threshold',
131+
label: 'XTC threshold',
132+
type: 'input'
133+
},
134+
{
135+
key: 'typ_p',
136+
label: 'Typical P',
137+
type: 'input'
138+
},
139+
{
140+
key: 'max_tokens',
141+
label: 'Max tokens',
142+
type: 'input'
143+
},
94144
{
95145
key: 'samplers',
96146
label: 'Samplers',
@@ -152,68 +202,17 @@
152202
key: 'showThoughtInProgress',
153203
label: 'Show thought in progress',
154204
type: 'checkbox'
155-
},
156-
{
157-
key: 'disableReasoningFormat',
158-
label:
159-
'Show raw LLM output without backend parsing and frontend Markdown rendering to inspect streaming across different models.',
160-
type: 'checkbox'
161205
}
162206
]
163207
},
164208
{
165-
title: 'Advanced',
166-
icon: Cog,
209+
title: 'Developer',
210+
icon: Code,
167211
fields: [
168212
{
169-
key: 'temperature',
170-
label: 'Temperature',
171-
type: 'input'
172-
},
173-
{
174-
key: 'dynatemp_range',
175-
label: 'Dynamic temperature range',
176-
type: 'input'
177-
},
178-
{
179-
key: 'dynatemp_exponent',
180-
label: 'Dynamic temperature exponent',
181-
type: 'input'
182-
},
183-
{
184-
key: 'top_k',
185-
label: 'Top K',
186-
type: 'input'
187-
},
188-
{
189-
key: 'top_p',
190-
label: 'Top P',
191-
type: 'input'
192-
},
193-
{
194-
key: 'min_p',
195-
label: 'Min P',
196-
type: 'input'
197-
},
198-
{
199-
key: 'xtc_probability',
200-
label: 'XTC probability',
201-
type: 'input'
202-
},
203-
{
204-
key: 'xtc_threshold',
205-
label: 'XTC threshold',
206-
type: 'input'
207-
},
208-
{
209-
key: 'typ_p',
210-
label: 'Typical P',
211-
type: 'input'
212-
},
213-
{
214-
key: 'max_tokens',
215-
label: 'Max tokens',
216-
type: 'input'
213+
key: 'disableReasoningFormat',
214+
label: 'Show raw LLM output',
215+
type: 'checkbox'
217216
},
218217
{
219218
key: 'custom',

0 commit comments

Comments
 (0)