llm-host/llmhost
neil 7ad0642d2e Offer to install opencode and connect it to the local server
After setup, if opencode is missing, offer to install it with its
official installer; then add an `llmhost` provider pointing at
http://localhost:<api port>/v1 that reads llm-host's key file directly.
Other providers and the default model are kept, the original config is
backed up once, trailing commas are tolerated, and a config with
comments is left untouched (the block is printed instead). Re-runs and
`llmhost update` keep the provider's port and models in sync.
New: `llmhost opencode-setup`, and setup flags --opencode / --no-opencode.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01QaE1hpvyZTJixEbUUMj9Ca
2026-11-02 05:37:35 -08:00
..
backends MLX proxy: count prompt tokens on streamed requests 2026-11-02 05:03:49 -08:00
web Dashboard: add a prompt processing tok/s chart 2026-11-02 05:03:07 -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 Add Ornith 1.5 9B for 16 GB Macs and 16 GB GPUs 2026-11-02 05:32:35 -08:00
cli.py Offer to install opencode and connect it to the local server 2026-11-02 05:37:35 -08:00
hfcache.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
hw.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
opencode.py Offer to install opencode and connect it to the local server 2026-11-02 05:37:35 -08:00
paths.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
plan.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00
service.py Initial llm-host: hardware-aware local LLM server with dashboard 2026-11-02 03:51:06 -08:00