Files
app-opencode/config/opencode/opencode.json

83 lines
1.6 KiB
JSON

{
"$schema": "https://opencode.ai/config.json",
"model": "weave/glm-5.3-flash",
"agents": {
"title": {
"model": "weave/glm-5.3-flash"
}
},
"providers": {
"weave": {
"package": "@opencode/ai/providers/openai-compatible",
"settings": {
"baseURL": "https://weave.redpencil.io/v1",
"apiKey": "{env:WEAVE_API_KEY}"
},
"models": {
"kimi-K2.7-code": {
"capabilities": {
"tools": true
}
},
"glm-5.3": {
"capabilities": {
"tools": true
}
},
"glm-5.3-flash": {
"capabilities": {
"tools": true
}
},
"mistral-glm-5.2": {
"capabilities": {
"tools": true,
"reasoning": {
"supported": true
}
},
"settings": {
"reasoningEffort": "xhigh"
}
},
"devstral": {
"capabilities": {
"tools": true
}
},
"local-qwen3.6:27b": {
"capabilities": {
"tools": true
}
},
"mistral-medium": {
"capabilities": {
"tools": true
}
}
}
}
},
"permissions": [
{
"action": "read",
"resource": "*",
"effect": "ask",
},
{
"action": "edit",
"resource": "*",
"effect": "ask",
},
{
"action": "shell",
"resource": "*",
"effect": "ask",
},
{
"action": "external_directory",
"resource": "*",
"effect": "ask",
},
],
}