File size: 1,268 Bytes
4aec5bd | 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 | {
"$schema": "https://opencode.ai/config.json",
"provider": {
"ollama": {
"npm": "@ai-sdk/openai-compatible",
"name": "Ollama (local)",
"options": {
"baseURL": "http://127.0.0.1:11434/v1"
},
"models": {
"gemma4:4b": {
"name": "Gemma 4 4B",
"limit": {
"context": 128000,
"output": 8192
}
},
"gemma4:9b": {
"name": "Gemma 4 9B",
"limit": {
"context": 128000,
"output": 8192
}
}
}
}
},
"agents": {
"local-coder": {
"name": "Local Code Agent",
"model": "gemma4:4b",
"systemPrompt": "You are an expert software developer. Before writing code, read docs/PRD.md, docs/ARCHITECTURE.md, and docs/CONTEXT.md. Follow all coding standards. Write type-hinted Python with Google docstrings. Write tests for every function.",
"tools": ["filesystem", "git"]
},
"local-debugger": {
"name": "Local Debug Agent",
"model": "gemma4:4b",
"systemPrompt": "You are a debugging specialist. Analyze error traces, identify root causes, and propose minimal fixes. Run tests to verify fixes.",
"tools": ["filesystem", "git"]
}
}
}
|