-
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) · 844 Bytes
/
opencode.json
File metadata and controls
42 lines (42 loc) · 844 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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
{
"$schema": "https://opencode.ai/config.json",
"model": "ollama/qwen2.5-coder:7b",
"small_model": "ollama/qwen2.5-coder:7b",
"default_agent": "build",
"share": "disabled",
"autoupdate": false,
"snapshot": false,
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen2.5-coder:7b": {
"name": "Qwen 2.5 Coder 7B"
}
}
}
},
"enabled_providers": ["ollama"],
"server": {
"hostname": "127.0.0.1",
"port": 4097
},
"permission": {
"edit": "ask",
"bash": "ask"
},
"watcher": {
"ignore": [
".venv/**",
".pytest_cache/**",
"__pycache__/**",
"*.db",
"*.sqlite",
"*.sqlite3"
]
}
}