Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
59 lines (59 loc) · 1.58 KB
/
Copy pathopencode.json
File metadata and controls
59 lines (59 loc) · 1.58 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
48
49
50
51
52
53
54
55
56
57
58
59
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ghostswitch": {
"npm": "@ai-sdk/openai-compatible",
"name": "GhostSwitch Local",
"options": {
"baseURL": "http://127.0.0.1:27246/v1",
"apiKey": "local",
"timeout": 600000,
"headers": {
"X-GhostSwitch-Client": "OpenCode"
}
},
"models": {
"ghostswitch-v6": {
"name": "GhostSwitch v6",
"tool_call": true,
"reasoning": false,
"attachment": true,
"modalities": {
"input": ["text", "image"],
"output": ["text"]
},
"limit": {
"context": 100000,
"output": 4096
}
}
}
}
},
"model": "ghostswitch/ghostswitch-v6",
"small_model": "ghostswitch/ghostswitch-v6",
"agent": {
"ghostswitch": {
"description": "Coding agent powered by local GhostSwitch",
"mode": "primary",
"model": "ghostswitch/ghostswitch-v6",
"prompt": "You are a coding agent. Read relevant files before editing. Use tools to carry out the user's task, run the relevant tests, and report the result concisely. Never claim to have executed a command without its tool result. Work within the current project.",
"tools": {
"*": false,
"read": true,
"edit": true,
"write": true,
"bash": true,
"glob": true,
"grep": true
}
},
"title": {
"disable": true
},
"summary": {
"disable": true
}
},
"default_agent": "ghostswitch"
}