ai-dev-template-backup / opencode.json
Jordandevlog's picture
Duplicate from Jordandevlog/ai-dev-template
4aec5bd
Raw
History Blame Contribute Delete
1.27 kB
{
"$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"]
}
}
}