forked from home-operations/containers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
35 lines (35 loc) · 756 Bytes
/
Copy pathopencode.json
File metadata and controls
35 lines (35 loc) · 756 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
29
30
31
32
33
34
35
{
"$schema": "https://opencode.ai/config.json",
"autoupdate": false,
"provider": {
"openai-compatible": {
"npm": "@ai-sdk/openai-compatible",
"name": "Custom OpenAI-compatible endpoint",
"options": {
"baseURL": "{env:OPENAI_API_BASE}",
"apiKey": "{env:OPENAI_API_KEY}"
},
"models": {
"default": {
"name": "{env:OPENAI_MODEL}",
"id": "{env:OPENAI_MODEL}"
}
}
}
},
"permission": {
"*": "allow",
"bash": {
"*": "deny",
"git*": "allow",
"gh*": "allow",
"mkdir*": "allow",
"cat*": "allow",
"ls*": "allow",
"pwd": "allow",
"jq*": "allow",
"docker*": "allow",
"task*": "allow"
}
}
}