Enable using local LLMs for chat and reasoning
The documentation states:
... the things that benefit most from frontier models (default chat, reasoning, vision) stay cloud. https://tinyhumans.gitbook.io/openhuman/features/model-routing/local-ai
Please make it possible to use local LLMs for chat and reasoning. Thanks!
Poked around the routing code on this one. The way to force local is already wired — privacy_required on RoutingHints flips any task to local-only, including chat. There's just no setting that exposes it.
The reason chat is currently remote-only looks intentional though. The doc-comment on the classifier basically says "local is too slow for the TTFT budget on chat" — so flipping the default would probably make the chat feel sluggish for anyone running a smaller local model.
I think the cleanest path is a Settings → Advanced toggle: opt-in "use local for chat/reasoning when the local model is healthy", off by default. Anyone on a beefy local setup gets what they want, defaults stay snappy for everyone else.
@senamakel any preference here? Happy to put up a PR if a power-user toggle is the direction you'd want — or just close this out if frontier-only is the deliberate call.
Audit of main — this is already wired end-to-end as of #2580 (merged 2026-05-24); it just isn't called out in the local-AI docs the OP linked.
Where to flip it today (no code changes needed):
Settings → AI → switch from "Managed" to Advanced → in the workload routing matrix, set Chat and Reasoning to a local provider (Ollama / LM Studio).
Why it works — two layers, both in main:
- Per-workload provider routing (the user-facing path, added by #2580). The Advanced panel persists
chat_provider/reasoning_providerin config; at runtimeprovider_for_role(role, config)reads those fields and returns the configured provider string. The function explicitly recognizesOLLAMA_PROVIDER_PREFIXandLM_STUDIO_PROVIDER_PREFIXas valid values for the chat-tier roles (chat,reasoning,coding), so a local provider here actually routes those workloads to the local runtime — no classifier override. privacy_requiredhint (the lower-level path that @obchain found inRoutingHints) is still there too. It forces local-only with no remote fallback for any caller that uses thehint:*classifier route, regardless ofTaskCategory::Heavy. Not exposed as a one-click toggle, but the plumbing exists for power users wiring it from code.
So as @obchain suspected, "the way to force local is already wired" — and since #2580, the easy way (a workload picker) is also wired and shipped.
If this matches what @akuckartz was after, I'd suggest this can be closed. If there's a specific gap that's still missing (e.g., a one-checkbox "use local for everything" rather than the per-workload matrix), it would be cleanest to file that as a focused follow-up so the scope is unambiguous.
cc @senamakel @obchain — flagging in case you want the local-AI docs page updated to point at the Advanced-mode workload matrix; happy to put up a small docs PR if so.
I tried, using many methods to connect to my locally running LMStudio without success. There are so many places in settings where I can configure connection that I'm not sure where I go wrong. I get different error messages depending on from which setting I'm trying to connect. The interface does detect my existing models, but when I try chat, I always get errors (the latest being "Something went wrong. Please try again. This error has been reported. You can also report it on Discord.". Any help greatly appreciated. As is the app is useless to me as I don't want to make external connections to AI.
Status / parity check — docs-only, feature unverified (~20%)
What shipped is documentation: #2383 documents local chat routing.
What's remaining is the feature itself, end-to-end. There's no confirmation that selecting and running a local LLM for chat + reasoning actually works through the app — the docs describe the path but the functional flow isn't verified, and any wiring gaps (model selection, routing to the local backend, reasoning path) aren't closed off.
Closing this needs a functional pass: pick a local model, run a chat + reasoning turn, and confirm it routes locally — plus fixing whatever that surfaces. Keeping open until the feature is verified working, not just documented.