-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathopencode.json
More file actions
40 lines (39 loc) · 980 Bytes
/
opencode.json
File metadata and controls
40 lines (39 loc) · 980 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
{
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://localhost:11434/v1"
},
"models": {
"qwen3": {
"name": "Qwen 3"
},
"codellama:7b": {
"name": "Code Llama 7B"
}
}
},
"xai": {
"npm": "@ai-sdk/openai-compatible",
"name": "xAI",
"options": {
"baseURL": "https://api.x.ai/v1"
},
"models": {
"grok-code-fast-1": {
"name": "Grok Code Fast 1"
}
}
}
},
"agent": {
"coder": {
"model": "ollama/codellama:7b",
"description": "Codes for Visual Studio using CodeLlama 7B, then verifies with Grok Code Fast 1",
"prompt": "You are an agent that codes for Visual Studio using CodeLlama 7B. After coding, verify the code using Grok Code Fast 1."
}
}
}