llm-host/llmhost
Neil Bantoc e48517b1cf Setup: keep the dashboard's reasoning setting across an update
cmd_setup rebuilds config.json from the plan, and the reasoning setting isn't
part of the plan -- the dashboard writes it into the same file. So every
`llmhost update` (setup --yes under the hood) silently put every model back to
"Model default", losing a setting the user had chosen in the UI.

Carry it over, minus models that no longer fit. The helper exists so the reason
is on the record rather than implied by a dict literal; its tests cover the
empty and no-longer-fits cases that must not write the key at all.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
2026-11-03 15:01:12 -08:00
..
backends Proxy in front of vLLM too; dashboard reset/clear; opencode effort variants 2026-11-03 13:03:52 -08:00
web Proxy in front of vLLM too; dashboard reset/clear; opencode effort variants 2026-11-03 13:03:52 -08:00
__init__.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
__main__.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
catalog.json Dashboard: a reasoning chooser, offering only what the model accepts 2026-11-03 02:15:12 -08:00
cli.py Setup: keep the dashboard's reasoning setting across an update 2026-11-03 15:01:12 -08:00
hfcache.py Dashboard: a reasoning chooser, offering only what the model accepts 2026-11-03 02:15:12 -08:00
hw.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
opencode.py Proxy in front of vLLM too; dashboard reset/clear; opencode effort variants 2026-11-03 13:03:52 -08:00
paths.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
plan.py Proxy in front of vLLM too; dashboard reset/clear; opencode effort variants 2026-11-03 13:03:52 -08:00
service.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00