69 lines
1.2 KiB
JSON
69 lines
1.2 KiB
JSON
{
|
|
"$schema": "https://opencode.ai/config.json",
|
|
"model": "weave/glm-5.2",
|
|
"small_model": "weave/glm-5.2",
|
|
"lsp": {
|
|
"typescript": {
|
|
"command": [
|
|
"typescript-language-server",
|
|
"--stdio"
|
|
],
|
|
"extensions": [
|
|
".ts",
|
|
".tsx",
|
|
".js",
|
|
".jsx",
|
|
".mjs",
|
|
".cjs",
|
|
".mts",
|
|
".cts"
|
|
]
|
|
},
|
|
"pyright": {
|
|
"command": [
|
|
"pyright-langserver",
|
|
"--stdio"
|
|
],
|
|
"extensions": [
|
|
".py",
|
|
".pyi"
|
|
]
|
|
}
|
|
},
|
|
"provider": {
|
|
"weave": {
|
|
"npm": "@ai-sdk/openai-compatible",
|
|
"options": {
|
|
"baseURL": "https://weave.redpencil.io/v1",
|
|
"apiKey": "{env:WEAVE_API_KEY}"
|
|
},
|
|
"models": {
|
|
"kimi-K2.7-code": {
|
|
"tools": true
|
|
},
|
|
"glm-5.2": {
|
|
"tools": true
|
|
},
|
|
"devstral": {
|
|
"tools": true
|
|
},
|
|
"local-qwen3.6:27b": {
|
|
"tools": true
|
|
},
|
|
"mistral-medium": {
|
|
"tools": true
|
|
},
|
|
"claude-sonnet": {
|
|
"tools": true
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"permission": {
|
|
"read": "ask",
|
|
"edit": "ask",
|
|
"bash": "ask",
|
|
"external_directory": "ask"
|
|
}
|
|
}
|