A switch in the Sampling drawer. With it on, Apply stores the drawer's
settings on the server (POST /settings): thinking level, temperature,
top-p, top-k, seed, max tokens and the experimental speed projection. omp
and other API clients then get them for anything they don't send
themselves, from their next request (no restart); what a client sends still
wins. Off again, clients use their own settings.
- Kept between starts in <config>.shared-settings.json next to the run
config; the server window says what other apps use.
- Only Strata's own page can change them: JSON only (a cross-site form or
simple request can't send it without a CORS preflight, which this server
never grants), no foreign Origin, and the API key when one is set.
- Values are checked (bad ones are a 400 naming the setting).
- Tests: defaults reach the engine, a client's own values win, off clears
them and the file, 415/403/400/401.