forked from eformat/web-terminal
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
87 lines (87 loc) · 2.43 KB
/
opencode.json
File metadata and controls
87 lines (87 loc) · 2.43 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
{
"$schema": "https://opencode.ai/config.json",
"autoupdate": false,
"instructions": [
"AGENTS.md",
"docs/guidelines.md"
],
"enabled_providers": [
"RH-MAAS",
"LLAMASTACK",
"openrouter"
],
"mcp": {
"remote-skills": {
"type": "remote",
"url": "{env:CLAUDE_SKILLS_MCP_URL}",
"enabled": true,
},
"context7": {
"type": "remote",
"url": "https://mcp.context7.com/mcp",
"headers": {
"CONTEXT7_API_KEY": "{env:CONTEXT7_API_KEY}"
}
},
"gh_grep": {
"type": "remote",
"url": "https://mcp.grep.app"
}
},
"provider": {
"openrouter": {
"models": {
"moonshotai/kimi-k2": {
"options": {
"provider": {
"order": [
"baseten"
],
"allow_fallbacks": false
}
}
}
}
},
"RH-MAAS": {
"npm": "@ai-sdk/openai-compatible",
"name": "RH-MAAS-Llama-3.2-3B-Instruct",
"options": {
"baseURL": "{env:RH_MAAS_URL}",
"apiKey": "{env:RH_MAAS_Llama_3_2_3B_Instruct_API_KEY}",
},
"models": {
"llama-3-2-3b": {
"name": "llama-3-2-3b",
"limit": {
"context": 120000,
"output": 120000
}
}
}
},
"LLAMASTACK": {
"npm": "@ai-sdk/openai-compatible",
"name": "llama-stack",
"options": {
"baseURL": "{env:OPENCODE_LLS_URL}",
},
"models": {
"llama-4-scout-17b-16e-w4a16": {
"name": "llama-4-scout-17b-16e-w4a16",
"limit": {
"context": 120000,
"output": 120000
}
},
"microsoft/phi-4": {
"name": "microsoft/phi-4",
"limit": {
"context": 120000,
"output": 120000
}
}
}
}
}
}