-
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
28 lines (28 loc) · 600 Bytes
/
opencode.json
File metadata and controls
28 lines (28 loc) · 600 Bytes
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
{
"$schema": "https://opencode.ai/config.json",
"model": "{env:OPENCODE_MODEL}",
"small_model": "{env:OPENCODE_SMALL_MODEL}",
"provider": {
"gemini": {
"options": {
"apiKey": "{env:GEMINI_API_KEY}"
}
}
},
"permission": {
"edit": "allow",
"bash": "allow",
"read": "allow",
"write": "allow",
"glob": "allow",
"grep": "allow",
"list": "allow",
"external_directory": "allow",
"todowrite": "allow",
"todoread": "allow",
"question": "deny",
"plan_enter": "deny",
"plan_exit": "deny",
"doom_loop": "deny"
}
}