Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
39 lines (39 loc) · 1.45 KB
/
Copy pathopencode.json
File metadata and controls
39 lines (39 loc) · 1.45 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
{
"$schema": "https://opencode.ai/config.json",
"$comment": "Safe committed default for local dev: Gemini primary, no local proxy required. .github/workflows/opencode.yml overwrites the model/agent selection at CI runtime once nim-proxy's health check result is known, but keeps this same provider/plugin shape. Grade->model mapping mirrors docs/MODEL_POLICY.md. Retry order lives in .opencode/fallback.json, read by the opencode-auto-fallback plugin.",
"plugin": ["opencode-auto-fallback"],
"provider": {
"nvidia-proxy": {
"name": "NVIDIA NIM (via nim-proxy, rate-limit paced; only reachable when nim-proxy is running on localhost:8000)",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "http://localhost:8000/v1",
"apiKey": "unused-nim-proxy-handles-auth"
},
"models": {
"nvidia/qwen3-coder-480b-a35b-instruct": {
"name": "Qwen3 Coder 480B (NIM primary, via nim-proxy)"
},
"nvidia/nemotron-3-ultra-550b-a55b": {
"name": "Nemotron 3 Ultra 550B (NIM secondary, via nim-proxy)"
}
}
}
},
"model": "google/gemini-2.5-flash",
"small_model": "google/gemini-2.5-flash",
"agent": {
"plan": {
"model": "google/gemini-2.5-flash"
},
"build": {
"model": "google/gemini-2.5-flash"
},
"general": {
"model": "google/gemini-2.5-flash"
},
"explore": {
"model": "opencode/nemotron-3.5-lightning-free"
}
}
}