-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.hybrid.example.json
More file actions
125 lines (116 loc) · 3.08 KB
/
Copy pathopencode.hybrid.example.json
File metadata and controls
125 lines (116 loc) · 3.08 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
{
"$schema": "https://opencode.ai/config.json",
// Hybrid profile.
// Use GitHub Copilot's strongest OpenAI models for planning and implementation,
// and Gemini for lighter auxiliary agents where latency/cost matters more.
"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": "github-copilot/gpt-5.4",
"small_model": "google/gemini-3-flash-preview",
"provider": {
"google": {
"options": {
// Replace with your Google Cloud Project ID
"projectId": "your-google-cloud-project-id"
}
},
"llama.cpp": {
"npm": "@ai-sdk/openai-compatible",
"name": "llama-swap (local)",
"options": {
"baseURL": "http://127.0.0.1:8000/v1",
"apiKey": "local"
},
"models": {
"unsloth/Qwen3.6-27B": {
"name": "Qwen 3.6 27B"
},
"unsloth/DeepSeek-R1-32B": {
"name": "DeepSeek R1 32B"
},
"unsloth/Gemma-4-31B": {
"name": "Gemma 4 31B"
}
}
}
},
"agent": {
"plan": {
"mode": "primary",
"description": "System architect and planner",
"model": "github-copilot/gpt-5.4",
"reasoningEffort": "high",
"textVerbosity": "low",
"permission": {
"edit": "deny"
}
},
"plan-reviewer": {
"mode": "primary",
"disable": true
},
"build": {
"mode": "primary",
"description": "Senior engineer implementing the plan",
"model": "github-copilot/gpt-5.3-codex",
"reasoningEffort": "medium",
"textVerbosity": "low"
},
// Custom Subagents (defined in agents/*.md)
"code-reviewer": {
"model": "github-copilot/gpt-5.4",
"reasoningEffort": "high",
"textVerbosity": "low"
},
"implementer": {
"model": "github-copilot/gpt-5.3-codex",
"reasoningEffort": "medium",
"textVerbosity": "low"
},
// Built-in Subagents
"general": {
"model": "google/gemini-3.1-pro-preview",
"thinking_level": "medium"
},
"explore": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "medium"
},
// Utility agents stay on Gemini Flash to keep background work fast.
"title": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "low"
},
"summary": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "low"
},
"compaction": {
"model": "google/gemini-3-flash-preview",
"thinking_level": "low"
}
},
"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"
}
}
}
}