63 lines
2.2 KiB
JSON
63 lines
2.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": {
|
|
"claude-sonnet": { "tools": true },
|
|
"claude-opus": { "tools": true },
|
|
"claude-haiku": { "tools": true },
|
|
"Mistral-Small-3.2-24B-Instruct-2506": { "tools": true },
|
|
"phi-4": { "tools": true },
|
|
"gemini-3.5-flash": { "tools": true },
|
|
"gemini-3.1-pro": { "tools": true },
|
|
"qwen3.6-35B-A3B": { "tools": true },
|
|
"qwen3-coder-480B-A35B-Instruct": { "tools": true },
|
|
"glm-5.2": { "tools": true },
|
|
"kimi-K2.7-code": { "tools": true },
|
|
"MiniMax-M2.7": { "tools": true },
|
|
"DeepSeek-V4-Flash": { "tools": true },
|
|
"DeepSeek-V4-Pro": { "tools": true },
|
|
"nemotron-3-ultra": { "tools": true },
|
|
"mimo-v2.5-pro": { "tools": true },
|
|
"qwen3-max-thinking": { "tools": true },
|
|
"gpt-oss-120b": { "tools": true },
|
|
"mistral-large": { "tools": true },
|
|
"mistral-medium": { "tools": true },
|
|
"mistral-small": { "tools": true },
|
|
"magistral-medium": { "tools": true },
|
|
"magistral-small": { "tools": true },
|
|
"codestral": { "tools": true },
|
|
"devstral": { "tools": true },
|
|
"mistral-embed": { "tools": false },
|
|
"mistral-ocr": { "tools": false },
|
|
"ministral-14b": { "tools": true },
|
|
"ministral-8b": { "tools": true },
|
|
"ministral-3b": { "tools": true },
|
|
"local-gemma3:27b-it-qat": { "tools": true },
|
|
"local-gpt-oss:20b": { "tools": true },
|
|
"local-qwen3.6:27b": { "tools": true }
|
|
}
|
|
}
|
|
},
|
|
"permission": {
|
|
"read": "allow",
|
|
"edit": "allow",
|
|
"bash": "allow",
|
|
"external_directory": "allow"
|
|
}
|
|
}
|