This repository was archived by the owner on Apr 20, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 17
Expand file tree
/
Copy pathopencode.jsonc
More file actions
83 lines (83 loc) · 2.02 KB
/
Copy pathopencode.jsonc
File metadata and controls
83 lines (83 loc) · 2.02 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
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"$schema": "https://opencode.ai/config.json",
"model": "google-vertex/gemini-3.1-pro-preview",
"small_model": "google-vertex/gemini-2.5-flash",
"enabled_providers": ["google-vertex", "openrouter", "anthropic", "calculon"],
"provider": {
"google-vertex": {
"models": {
"gemini-2.5-flash": {
"temperature": true,
},
"gemini-2.5-pro": {
"temperature": true,
},
"gemini-3.1-pro-preview": {
"temperature": true,
},
},
"options": {
"project": "{env:VERTEXAI_PROJECT_ID}",
"location": "{env:VERTEXAI_REGION}",
},
},
"anthropic": {
"models": {
"claude-opus-4-6": {
"temperature": true,
},
"claude-sonnet-4-6": {
"temperature": true,
},
"claude-haiku-4-5": {
"temperature": true,
},
},
"options": {
"apiKey": "{env:ANTHROPIC_API_KEY}",
},
},
"calculon": {
"npm": "@ai-sdk/openai-compatible",
"name": "calculon",
"options": {
"baseURL": "http://calculon.local:8000/v1",
"apiKey": "{env:OMLX_API_KEY}",
},
"models": {
"Qwen3.5-9B-MLX-4bit": {
"name": "Qwen3.5-9B-MLX-4bit",
"modalities": {
"input": ["text", "image"],
"output": ["text"],
},
"attachment": true,
},
"gemma-4-e4b-it-8bit": {
"name": "gemma-4-e4b-it-8bit",
"modalities": {
"input": ["text", "image"],
"output": ["text"],
},
"attachment": true,
},
},
},
},
"default_agent": "plan",
"autoupdate": true,
"instructions": ["rules/*.md"],
"share": "disabled",
"plugin": [
"@franlol/opencode-md-table-formatter@latest",
"opencode-cost-guard"
],
"mcp": {
"smartplaylist": {
"type": "remote",
"url": "http://personal.local:8000/mcp",
"enabled": true,
},
},
}