41 lines
1.1 KiB
JSON
41 lines
1.1 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"default_agent": "plan",
|
|
"agent": {
|
|
"local-build": {
|
|
"description": "Build agent optimized for local LM Studio models with explicit tool awareness",
|
|
"mode": "primary",
|
|
"prompt": "{file:./prompts/local-build.md}"
|
|
},
|
|
"local-plan": {
|
|
"description": "Plan agent for local LM Studio models - tool aware, no file writes without approval",
|
|
"mode": "primary",
|
|
"prompt": "{file:./prompts/local-plan.md}",
|
|
"permission": {
|
|
"edit": "ask",
|
|
"bash": "ask"
|
|
}
|
|
}
|
|
},
|
|
"provider": {
|
|
"lmstudio": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "LM Studio (local)",
|
|
"options": {
|
|
"baseURL": "http://127.0.0.1:1234/v1"
|
|
},
|
|
"models": {
|
|
"google/gemma-3-4b": {
|
|
"name": "google/gemma-3-4b"
|
|
},
|
|
"google/gemma-4-26b-a4b": {
|
|
"name": "google/gemma-4-26b-a4b"
|
|
},
|
|
"mistralai/ministral-3-14b-reasoning": {
|
|
"name": "mistralai/ministral-3-14b-reasoning"
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|