From 45b9b95937925cbc74eb059bd92932fcc69f5165 Mon Sep 17 00:00:00 2001 From: Nate Sesti Date: Sat, 1 Jun 2024 16:49:32 -0400 Subject: [PATCH] =?UTF-8?q?=F0=9F=93=9D=20explain=20lm=20studio=20remote?= =?UTF-8?q?=20in=20docs?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/docs/reference/Model Providers/lmstudio.md | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/docs/docs/reference/Model Providers/lmstudio.md b/docs/docs/reference/Model Providers/lmstudio.md index a44a84427..52c2b2275 100644 --- a/docs/docs/reference/Model Providers/lmstudio.md +++ b/docs/docs/reference/Model Providers/lmstudio.md @@ -14,4 +14,19 @@ } ``` +### Setting up a remote instance + +To configure a remote instance of LM Studio, add the `"apiBase"` property to your model in config.json: + +```json title="~/.continue/config.json" +{ + "title": "LM Studio", + "model": "codestral", + "provider": "lmstudio", + "apiBase": "http://x.x.x.x:1234/v1/" +} +``` + +This `apiBase` will now be used instead of the default `http://localhost:1234/v1`. + [View the source](https://github.com/continuedev/continue/blob/main/core/llm/llms/LMStudio.ts)