-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.custom.example.json
More file actions
87 lines (79 loc) · 1.93 KB
/
opencode.custom.example.json
File metadata and controls
87 lines (79 loc) · 1.93 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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
{
"$schema": "https://opencode.ai/config.json",
// Optimized for Google Gemini Suite
"autoupdate": true,
"plugin": ["opencode-gemini-auth@latest"],
"disabled_providers": ["google-vertex-anthropic", "google-vertex"],
// Default models
"model": "github-copilot/claude-sonnet-4.5",
"small_model": "google/gemini-3-flash-preview",
"provider": {
"google": {
"options": {
// Replace with your Google Cloud Project ID
"projectId": "your-google-cloud-project-id"
}
}
},
"agent": {
// Built-in Primary Agents
"plan": {
"mode": "primary",
"description": "System architect and planner",
"model": "github-copilot/claude-sonnet-4.5",
"temperature": 0.1,
"tools": {
"write": false,
"edit": false,
"execute-plan": false
}
},
"build": {
"mode": "primary",
"description": "Senior engineer implementing the plan",
"model": "google/gemini-3-flash-preview",
"temperature": 0.25
},
// Custom Subagents (defined in agent/*.md)
"code-reviewer": {
"model": "google/gemini-3-pro-preview",
"temperature": 0.0
},
"implementer": {
"model": "google/gemini-3-flash-preview"
},
"spec-reviewer": {
"model": "google/gemini-3-pro-preview",
"temperature": 0.0
},
// Built-in Subagents
"general": {
"model": "google/gemini-3-flash-preview"
},
"explore": {
"model": "google/gemini-3-flash-preview"
},
"title": {
"model": "github-copilot/gpt-5-mini"
},
"summary": {
"model": "github-copilot/gpt-5-mini"
},
"compaction": {
"model": "github-copilot/gpt-5-mini"
}
},
// Requires godoc-mcp to be installed and available on PATH
"mcp": {
"godoc": {
"type": "local",
"command": ["godoc-mcp"],
"enabled": true
}
},
"tui": {
"scroll_acceleration": {
"enabled": true
}
}
}