unsloth/studio/frontend
Daniel Han 319a95796c Surface extended sampler knobs in chat settings panel (PR #5711)
Adds an "Advanced Sampling" collapsible section under the existing
Sampling block. Renders the 27 extended sampler fields plumbed earlier
in this PR (typical_p, top_n_sigma, mirostat family, dynatemp, top_a,
DRY chain, XTC, min_keep, ignore_eos, min_tokens, vLLM output knobs,
truncate_prompt_tokens, n_keep, n_probs, cache_prompt, llama.cpp
debug flags) using the same ParamSlider / Switch primitives as the
core knobs.

Each control is gated on the corresponding providerCapabilities flag
so the section only appears for backends that accept the knob (local
llama_cpp / custom: full set; vLLM: OAI subset + 4 output knobs;
Ollama: dropped per the OAI translator; OpenRouter: top_a only;
SaaS providers: section hidden entirely). The DRY chain's 3 child
fields and the XTC threshold are additionally hidden until their
master switch is non-zero, matching the upstream skip-when-disabled
rule the chat-adapter already enforces.

Nullable-number fields render at their upstream-disabled sentinel
(1.0 for typ_p, -1 for top_n_sigma, 0 for repeat_last_n, etc.) and
collapse back to null on the wire when the user moves them to that
sentinel, so the adapter omits the field entirely. Nullable booleans
render at the upstream default and only forward the non-default value
(cachePrompt / skipSpecialTokens / spacesBetweenSpecialTokens default
on and store null when on; ignoreEos / returnTokens / timingsPerToken
/ postSamplingProbs / includeStopStrInOutput default off and store
null when off).
2026-05-27 12:14:06 +00:00
..
public Polish/cloud to providers (#5450) 2026-05-15 19:29:21 +04:00
src Surface extended sampler knobs in chat settings panel (PR #5711) 2026-05-27 12:14:06 +00:00
.gitignore perf(studio): upgrade to Vite 8 + auto-install bun for faster frontend builds (#4522) 2026-03-25 04:27:41 -07:00
.gitkeep add studio root folder 2026-02-02 09:14:35 +00:00
.npmrc security: NOT affected by Mini Shai-Hulud (May-12 wave) -- forward-looking hardening only (#5397) 2026-05-13 04:58:12 -07:00
biome.json feat: add seed dataset support with configuration, preview, and builder utilities 2026-02-14 18:44:38 +01:00
components.json add studio root folder 2026-02-02 09:14:35 +00:00
data-designer.openapi (1).yaml save and import, and fixes 2026-02-04 14:32:49 +01:00
eslint.config.js Final cleanup 2026-03-12 18:28:04 +00:00
index.html Final cleanup 2026-03-12 18:28:04 +00:00
package-lock.json Add OpenDocument chat attachments (#5510) 2026-05-18 03:41:24 -07:00
package.json Recipe Studio local model selector (#5769) 2026-05-26 02:37:24 -07:00
tsconfig.app.json Relax frontend unused local check (#4388) 2026-03-17 16:04:11 -07:00
tsconfig.json cleanup 2026-02-04 13:28:39 +01:00
tsconfig.node.json cleanup 2026-02-04 13:28:39 +01:00
vite.config.ts Fix Install commands for Windows + 1 line installs (#4447) 2026-03-19 02:09:09 -07:00