-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
25 lines (25 loc) · 680 Bytes
/
Copy pathopencode.json
File metadata and controls
25 lines (25 loc) · 680 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
{
"$schema": "https://opencode.ai/config.json",
"server": {
"port": 4096,
"hostname": "0.0.0.0",
"mdns": true,
"cors": ["https://opencode.afonsoft.dev"]
},
"provider": {
"omniroute": {
"npm": "@ai-sdk/openai-compatible",
"name": "OmniRoute",
"options": {
"baseURL": "{env:OMNIROUTE_BASE_URL}",
"apiKey": "{env:OMNIROUTE_API_KEY}"
},
"models": {
"auto/claude-opus": { "name": "auto/claude-opus" },
"auto/claude-sonnet": { "name": "auto/claude-sonnet" },
"auto/pro-coding": { "name": "auto/pro-coding" },
"auto/best-coding": { "name": "auto/best-coding" }
}
}
}
}