-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.hybrid.example.json
More file actions
97 lines (88 loc) · 2.34 KB
/
opencode.hybrid.example.json
File metadata and controls
97 lines (88 loc) · 2.34 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
88
89
90
91
92
93
94
95
96
97
{
"$schema": "https://opencode.ai/config.json",
"autoupdate": true,
"snapshot": false,
"compaction": { "auto": true, "prune": true },
"instructions": ["~/.config/opencode/rules/*.md"],
"plugin": [
"opencode-gemini-auth@latest",
"@mohak34/opencode-notifier@latest"
],
"disabled_providers": ["google-vertex-anthropic", "google-vertex"],
"model": "google/gemini-3.1-pro-preview",
"small_model": "google/gemini-3-flash-preview",
"provider": {
"google": {
"options": {
// Replace with your Google Cloud Project ID
"projectId": "your-google-cloud-project-id"
}
}
},
"agent": {
"plan": {
"mode": "primary",
"description": "System architect and planner",
"model": "github-copilot/claude-opus-4.6",
"thinking": { "type": "adaptive" },
"effort": "high",
"permission": {
"edit": "deny"
}
},
"build": {
"mode": "primary",
"description": "Senior engineer implementing the plan",
"model": "google/gemini-3-flash-preview",
"thinking_level": "medium"
},
// Custom Subagents (defined in agents/*.md)
"code-reviewer": {
"model": "google/gemini-3.1-pro-preview",
"thinking_level": "high"
},
"implementer": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "medium"
},
// Built-in Subagents
"general": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "medium"
},
"explore": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "medium"
},
// Utility agents — GPT-5-mini does NOT support temperature.
// Use reasoningEffort instead.
"title": {
"model": "github-copilot/gpt-5-mini",
"reasoningEffort": "minimal"
},
"summary": {
"model": "github-copilot/gpt-5-mini",
"reasoningEffort": "minimal"
},
"compaction": {
"model": "github-copilot/gpt-5-mini",
"reasoningEffort": "minimal"
}
},
"mcp": {
"godoc": {
"type": "local",
"command": ["godoc-mcp"],
"enabled": true
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"enabled": true,
"headers": {
// run for set up --> npx ctx7 setup --opencode
"CONTEXT7_API_KEY": "your-context7-api-key"
}
}
}
}