-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
42 lines (42 loc) · 1.01 KB
/
opencode.json
File metadata and controls
42 lines (42 loc) · 1.01 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",
"model": "{env:OPENCODE_MODEL}",
"provider": {
"{env:OPENCODE_CUSTOM_PROVIDER}": {
"npm": "@ai-sdk/openai-compatible",
"name": "{env:OPENCODE_CUSTOM_PROVIDER_NAME}",
"options": {
"baseURL": "http://127.0.0.1:1234/v1"
},
"models": {
"{env:OPENCODE_CUSTOM_MODEL}": {
"name": "{env:OPENCODE_CUSTOM_MODEL_NAME}"
}
}
},
"minimax": {
"npm": "@ai-sdk/anthropic",
"options": {
"baseURL": "https://api.minimax.io/anthropic/v1",
"apiKey": "{env:MINIMAX_API_KEY}"
},
"models": {
"MiniMax-M2.7": {
"name": "MiniMax-M2.7"
}
}
},
"openrouter": {
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://openrouter.ai/api/v1",
"apiKey": "{env:OPENROUTER_API_KEY}"
},
"models": {
"deepseek/deepseek-v4-pro": {
"name": "DeepSeek V4 Pro"
}
}
}
}
}