forked from amitrathiesh/lmstudio-proxy
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdevcontainer.example.json
More file actions
26 lines (23 loc) · 847 Bytes
/
Copy pathdevcontainer.example.json
File metadata and controls
26 lines (23 loc) · 847 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// Add these settings to your project's .devcontainer/devcontainer.json
// when Cline runs inside a devcontainer and LM Studio + this proxy run on the host.
{
"name": "My Project (Cline + LM Studio)",
"runArgs": [
// Join the same Docker network as lmstudio-proxy (do NOT use host.docker.internal:1235 — it often fails)
"--network=lmstudio-proxy"
],
"mounts": [
// Share /tmp with the proxy so Cline screenshot file paths are readable
"source=cline-screenshots,target=/tmp,type=volume"
],
"customizations": {
"vscode": {
"settings": {
// Cline OpenAI-compatible base URL — use the container name, not host.docker.internal
"cline.apiProvider": "openai",
"cline.openAiBaseUrl": "http://lmstudio-proxy:1235",
"cline.openAiModelId": "your-model-id-here"
}
}
}
}