forked from AltimateAI/altimate-code
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.jsonc
More file actions
47 lines (47 loc) · 1.37 KB
/
opencode.jsonc
File metadata and controls
47 lines (47 loc) · 1.37 KB
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
{
"$schema": "https://altimate.ai/config.json",
"provider": {
"opencode": {
"options": {},
},
// LM Studio — local inference via OpenAI-compatible API
// 1. Open LM Studio → Developer tab → Start Server (default port: 1234)
// 2. Load a model in LM Studio
// 3. Run: curl http://localhost:1234/v1/models to find the model ID
// 4. Add the model ID to the "models" section below
// 5. Use as: altimate-code run -m lmstudio/<model-id>
"lmstudio": {
"name": "LM Studio",
"npm": "@ai-sdk/openai-compatible",
"env": ["LMSTUDIO_API_KEY"],
"options": {
"apiKey": "lm-studio",
"baseURL": "http://localhost:1234/v1",
},
"models": {
// Add your loaded models here. The key must match the model ID from LM Studio.
// Examples:
// "qwen2.5-7b-instruct": {
// "name": "Qwen 2.5 7B Instruct",
// "tool_call": true,
// "limit": { "context": 131072, "output": 8192 }
// },
// "deepseek-r1:70b": {
// "name": "DeepSeek R1 70B",
// "tool_call": true,
// "limit": { "context": 65536, "output": 8192 }
// }
},
},
},
"permission": {
"edit": {
"packages/opencode/migration/*": "deny",
},
},
"mcp": {},
"tools": {
"github-triage": false,
"github-pr-search": false,
},
}