Skip to content

Commit 9b44053

Browse files
webui: reorganize settings layout
1 parent 1bb4f43 commit 9b44053

File tree

1 file changed

+57
-57
lines changed

1 file changed

+57
-57
lines changed

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

Lines changed: 57 additions & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
AlertTriangle,
66
Brain,
77
Cog,
8+
Code,
89
Monitor,
910
Sun,
1011
Moon,
@@ -88,9 +89,59 @@
8889
]
8990
},
9091
{
91-
title: 'Samplers',
92+
title: 'Sampling',
9293
icon: Funnel,
9394
fields: [
95+
{
96+
key: 'temperature',
97+
label: 'Temperature',
98+
type: 'input'
99+
},
100+
{
101+
key: 'dynatemp_range',
102+
label: 'Dynamic temperature range',
103+
type: 'input'
104+
},
105+
{
106+
key: 'dynatemp_exponent',
107+
label: 'Dynamic temperature exponent',
108+
type: 'input'
109+
},
110+
{
111+
key: 'top_k',
112+
label: 'Top K',
113+
type: 'input'
114+
},
115+
{
116+
key: 'top_p',
117+
label: 'Top P',
118+
type: 'input'
119+
},
120+
{
121+
key: 'min_p',
122+
label: 'Min P',
123+
type: 'input'
124+
},
125+
{
126+
key: 'xtc_probability',
127+
label: 'XTC probability',
128+
type: 'input'
129+
},
130+
{
131+
key: 'xtc_threshold',
132+
label: 'XTC threshold',
133+
type: 'input'
134+
},
135+
{
136+
key: 'typ_p',
137+
label: 'Typical P',
138+
type: 'input'
139+
},
140+
{
141+
key: 'max_tokens',
142+
label: 'Max tokens',
143+
type: 'input'
144+
},
94145
{
95146
key: 'samplers',
96147
label: 'Samplers',
@@ -152,68 +203,17 @@
152203
key: 'showThoughtInProgress',
153204
label: 'Show thought in progress',
154205
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'
161206
}
162207
]
163208
},
164209
{
165-
title: 'Advanced',
166-
icon: Cog,
210+
title: 'Developer',
211+
icon: Code,
167212
fields: [
168213
{
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'
214+
key: 'disableReasoningFormat',
215+
label: 'Show raw LLM output',
216+
type: 'checkbox'
217217
},
218218
{
219219
key: 'custom',

0 commit comments

Comments
 (0)