-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathopencode.json
More file actions
42 lines (42 loc) · 1.13 KB
/
Copy pathopencode.json
File metadata and controls
42 lines (42 loc) · 1.13 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
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"cscs": {
"npm": "@ai-sdk/openai-compatible",
"name": "CSCS Inference",
"options": {
"baseURL": "https://api.inference.cscs.ch/v1",
"apiKey": "{env:CSCS_INFERENCE_API_KEY}"
},
"models": {
"zai-org/GLM-5.2": {
"name": "GLM-5.2",
"reasoning": true,
"interleaved": { "field": "reasoning_content" },
"limit": { "context": 200000, "output": 131072 }
},
"moonshotai/Kimi-K2.7-Code": {
"name": "Kimi K2.7-Code",
"reasoning": true,
"interleaved": { "field": "reasoning_content" },
"limit": { "context": 262144, "output": 131072 }
}
}
}
},
"permission": {
"read": {
"*": "allow",
"*.env": "deny"
},
"bash": "allow",
"edit": "deny",
"write": "deny",
"webfetch": "allow"
},
"instructions": ["CONTRIBUTING.md", "AGENTS.md"],
"model": "cscs/moonshotai/Kimi-K2.7-Code",
"small_model": "cscs/moonshotai/Kimi-K2.7-Code",
"share": "disabled",
"default_agent": "grumpy-reviewer"
}