62 lines
1.2 KiB
JSON
62 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
|
|
"default_agent": "plan",
|
|
|
|
"lsp": {
|
|
"pyright": {
|
|
"command": ["pyright-langserver", "--stdio"],
|
|
"extensions": [".py"]
|
|
}
|
|
},
|
|
|
|
"provider": {
|
|
"lmstudio": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"name": "LM Studio (local)",
|
|
"options": {
|
|
"baseURL": "http://192.168.0.4:1234/v1"
|
|
},
|
|
"models": {
|
|
"qwen3.5-35b-a3b": {
|
|
"name": "qwen3.5-35b-a3b"
|
|
},
|
|
"qwen/qwen3.8-27b": {
|
|
"name": "qwen/qwen3.8-27b"
|
|
},
|
|
"google/gemma-4-26b-a4b": {
|
|
"name": "google/gemma-4-26b-a4b"
|
|
},
|
|
"qwen/qwen3-4b-thinking-2507": {
|
|
"name": "qwen/qwen3-4b-thinking-2507"
|
|
},
|
|
"qwen2.5-coder-1.5b-instruct": {
|
|
"name": "qwen2.5-coder-1.5b-instruct"
|
|
}
|
|
}
|
|
}
|
|
},
|
|
|
|
"permission": {
|
|
"bash": "allow",
|
|
"read": "allow",
|
|
"write": "ask",
|
|
"edit": "ask",
|
|
"glob": "allow",
|
|
"grep": "allow",
|
|
"list": "allow",
|
|
"webfetch": "allow",
|
|
"websearch": "allow",
|
|
"question": "allow",
|
|
"todoread": "allow",
|
|
"todowrite": "allow",
|
|
"skill": "allow",
|
|
"patch": "allow",
|
|
"lsp": "allow"
|
|
},
|
|
|
|
"experimental": {
|
|
"lsp": true
|
|
}
|
|
}
|