From 19095bdadf60332977a1fcbbc84df658d31ae8b5 Mon Sep 17 00:00:00 2001 From: "openclaw-docs-sync[bot]" Date: Mon, 27 Apr 2026 07:58:13 +0000 Subject: [PATCH] chore(sync): mirror docs from openclaw/openclaw@f7081a3879f23abcc20f991bf42aa10c22a72901 --- .openclaw-sync/source.json | 4 ++-- docs/providers/lmstudio.md | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 2 deletions(-) diff --git a/.openclaw-sync/source.json b/.openclaw-sync/source.json index aedbbd69d..15dc9798e 100644 --- a/.openclaw-sync/source.json +++ b/.openclaw-sync/source.json @@ -1,5 +1,5 @@ { "repository": "openclaw/openclaw", - "sha": "5a3d01e480a15c6a65be674c85d85deb7b7451e4", - "syncedAt": "2026-04-27T07:54:39.244Z" + "sha": "f7081a3879f23abcc20f991bf42aa10c22a72901", + "syncedAt": "2026-04-27T07:56:46.105Z" } diff --git a/docs/providers/lmstudio.md b/docs/providers/lmstudio.md index 26f1aabb5..b71c279d2 100644 --- a/docs/providers/lmstudio.md +++ b/docs/providers/lmstudio.md @@ -94,6 +94,7 @@ This writes `models.providers.lmstudio` and sets the default model to `lmstudio:default` auth profile. Interactive setup can prompt for an optional preferred load context length and applies it across the discovered LM Studio models it saves into config. +LM Studio plugin config trusts the configured LM Studio endpoint for model requests, including loopback, LAN, and tailnet hosts. You can opt out by setting `models.providers.lmstudio.request.allowPrivateNetwork: false`. ## Configuration @@ -169,6 +170,27 @@ If setup reports HTTP 401, verify your API key: LM Studio supports just-in-time (JIT) model loading, where models are loaded on first request. Make sure you have this enabled to avoid 'Model not loaded' errors. +### LAN or tailnet LM Studio host + +Use the LM Studio host's reachable address, keep `/v1`, and make sure LM Studio is bound beyond loopback on that machine: + +```json5 +{ + models: { + providers: { + lmstudio: { + baseUrl: "http://gpu-box.local:1234/v1", + apiKey: "lmstudio", + api: "openai-completions", + models: [{ id: "qwen/qwen3.5-9b" }], + }, + }, + }, +} +``` + +Unlike generic OpenAI-compatible providers, `lmstudio` automatically trusts its configured local/private endpoint for guarded model requests. If you use a custom provider id instead of `lmstudio`, set `models.providers..request.allowPrivateNetwork: true` explicitly. + ## Related - [Model selection](/concepts/model-providers)