Repository navigation
Expand file tree
/
Copy pathopencode.json
More file actions
67 lines (67 loc) · 1.69 KB
/
Copy pathopencode.json
File metadata and controls
67 lines (67 loc) · 1.69 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
{
"$schema": "https://opencode.ai/config.json",
"_comment_model": "Offline-first: default = local Ollama coder model. Claude & ChatGPT are opt-in via API keys. Do not hardcode cloud model versions.",
"instructions": [
"You are an expert software engineer. Default to English in code, docs, and issues. Respect CLAUDE.md per repo. Offline-first: local Ollama is the default model; Claude and ChatGPT are opt-in via API keys."
],
"mcp": {
"github": {
"command": [
"npx",
"-y",
"@modelcontextprotocol/server-github"
],
"enabled": true,
"environment": {
"GITHUB_PERSONAL_ACCESS_TOKEN": "${GITHUB_TOKEN}"
},
"type": "local"
},
"notion": {
"command": [
"npx",
"-y",
"@notionhq/notion-mcp-server"
],
"enabled": true,
"environment": {
"OPENAPI_MCP_HEADERS": "{\"Authorization\": \"Bearer ${NOTION_API_KEY}\", \"Notion-Version\": \"2022-06-28\"}"
},
"type": "local"
}
},
"model": "ollama/qwen2.5-coder",
"provider": {
"anthropic": {
"options": {
"apiKey": "{env:ANTHROPIC_API_KEY}"
}
},
"github-copilot": {
"options": {
"model": "claude-sonnet-4-6"
},
"type": "copilot"
},
"ollama": {
"models": {
"qwen2.5-coder": {
"name": "Qwen2.5 Coder (local)"
},
"qwen3:8b": {
"name": "Qwen3 8B (local)"
}
},
"name": "Ollama (local)",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "{env:OLLAMA_URL}/v1"
}
},
"openai": {
"options": {
"apiKey": "{env:OPENAI_API_KEY}"
}
}
}
}