mirror of
https://github.com/Niko1221/Strata.git
synced 2026-12-05 07:48:45 +00:00
launcher: carry "slot_cache_mib" when the config is rewritten (tests/terminal/test_launch.py::RunConfig::test_settings_view_keys_are_all_carried_or_the_launchers_own failed since #7620)
#7620 added "slot_cache_mib" to serve/runconfig.py EDITABLE (the keys the Settings view can write) but not to WEB_SETTINGS_KEYS in strata_cli/launch/runner.py, the list of those keys the launcher carries over from the previous config when it writes a new one. The test that keeps the two lists in step failed on f-ink-025 after the merge of nx-r25-park (and would fail on main with #7620). Without the carry, a value the person set in the Settings view would be dropped the next time `strata launch` rewrites the run config. One word in the list; no behaviour of any other key changes.
This commit is contained in:
1 parent
efafdee952
commit
f2a3c13f91
1 file changed
+1
-1
@@ -599,7 +599,7 @@ def own_log_path(base: dict) -> str | None:
|
||||
#: launcher decides those with --mtp and --drafting), "open_browser" (strata launch sets it itself), and
|
||||
#: "vram_reserve_mib" (an engine option that already survives as a flag in "args" with its "user_args" copy).
|
||||
WEB_SETTINGS_KEYS = ("reasoning_budget_tokens", "fit_max_tokens", "anthropic_thinking", "effort_position",
|
||||
"aliases", "idle_unload_s", "lazy_load", "engine_silence_s", "api_monitor")
|
||||
"slot_cache_mib", "aliases", "idle_unload_s", "lazy_load", "engine_silence_s", "api_monitor")
|
||||
WEB_SAMPLING_KEYS = ("temperature", "top_p", "top_k", "min_p") # the editable keys of the "sampling" block
|
||||
|
||||
#: Advanced-table options (--set, a preset's extra table) that the server reads from the run config, not from the
|
||||
|
||||
Reference in new issue
Block a user