-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathopencode.json
More file actions
133 lines (133 loc) · 4.01 KB
/
Copy pathopencode.json
File metadata and controls
133 lines (133 loc) · 4.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
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
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
{
"$schema": "https://opencode.ai/config.json",
"model": "streamed/streamed-qwen-k4",
"small_model": "streamed/streamed-qwen-k4",
"provider": {
"mlx": {
"npm": "@ai-sdk/openai-compatible",
"name": "MLX (local)",
"options": {
"baseURL": "http://127.0.0.1:9000/v1",
"apiKey": "dummy"
},
"models": {
"mlx-community/Qwen3.5-4B-MLX-4bit": {
"name": "Qwen3.5 4B MLX 4bit"
},
"mlx-community/Qwen3.5-9B-MLX-4bit": {
"name": "Qwen3.5 9B MLX 4bit"
}
}
},
"streamed": {
"npm": "@ai-sdk/openai-compatible",
"name": "MLX Streamed (local)",
"options": {
"baseURL": "http://127.0.0.1:9002/v1",
"apiKey": "dummy"
},
"models": {
"streamed-qwen-k4": {
"name": "Streamed Qwen K4 (thinking)"
},
"streamed-qwen-k4-nothink": {
"name": "Streamed Qwen K4 (fast)"
}
}
}
},
"agent": {
"chat": {
"mode": "primary",
"description": "Lightweight chat mode for the streamed local model with no tool use.",
"prompt": "Answer directly and concisely. Do not call tools. If a task requires tools, say they are unavailable in this model profile.",
"tools": {
"bash": false,
"read": false,
"glob": false,
"grep": false,
"edit": false,
"write": false,
"patch": false,
"task": false,
"webfetch": false,
"websearch": false,
"todoread": false,
"todowrite": false,
"skill": false,
"question": false,
"plan_enter": false,
"plan_exit": false
}
},
"web-research": {
"mode": "primary",
"description": "Deep web research mode for iterative multi-query investigation with citations.",
"prompt": "You are a deep web research agent. Break the question into sub-problems, run multiple searches with different query formulations, follow up on gaps, and fetch high-value pages to validate claims. Start with websearch. Prefer official and primary sources. Begin your answer with the direct answer, then a concise synthesis, and end with a Sources section of plain URLs.",
"steps": 12,
"tools": {
"bash": false,
"edit": false,
"write": false,
"patch": false,
"task": false,
"read": false,
"glob": false,
"grep": false,
"webfetch": true,
"websearch": true,
"todoread": false,
"todowrite": false,
"skill": false
}
},
"streamed-min": {
"mode": "primary",
"description": "Minimal no-tools chat profile for the streamed backend.",
"prompt": "Reply in one short sentence. Do not call tools.",
"tools": {
"bash": false,
"read": false,
"glob": false,
"grep": false,
"edit": false,
"write": false,
"patch": false,
"task": false,
"webfetch": false,
"websearch": false,
"todoread": false,
"todowrite": false,
"skill": false,
"question": false,
"plan_enter": false,
"plan_exit": false
}
},
"code": {
"model": "streamed/streamed-qwen-k4-nothink",
"mode": "primary",
"description": "Agentic coding mode: read/edit/run files using the local Qwen model. No thinking overhead.",
"prompt": "You are an expert software engineer. Use the available tools to read, edit, and run code. Be precise and concise. Prefer targeted edits over rewrites. Always read a file before editing it.",
"steps": 20,
"tools": {
"bash": true,
"read": true,
"glob": true,
"grep": true,
"edit": true,
"write": true,
"patch": false,
"task": false,
"webfetch": false,
"websearch": false,
"todoread": false,
"todowrite": false,
"skill": false,
"question": false,
"plan_enter": false,
"plan_exit": false
}
}
}
}