update opencodeconfig

This commit is contained in:
felix
2026-07-02 13:53:22 +02:00
parent 9e729a4d72
commit c4c9aa2aea

View File

@@ -4,59 +4,146 @@
"small_model": "weave/glm-5.2", "small_model": "weave/glm-5.2",
"lsp": { "lsp": {
"typescript": { "typescript": {
"command": ["typescript-language-server", "--stdio"], "command": [
"extensions": [".ts", ".tsx", ".js", ".jsx", ".mjs", ".cjs", ".mts", ".cts"] "typescript-language-server",
"--stdio"
],
"extensions": [
".ts",
".tsx",
".js",
".jsx",
".mjs",
".cjs",
".mts",
".cts"
]
}, },
"pyright": { "pyright": {
"command": ["pyright-langserver", "--stdio"], "command": [
"extensions": [".py", ".pyi"] "pyright-langserver",
"--stdio"
],
"extensions": [
".py",
".pyi"
]
} }
}, },
"provider": { "provider": {
"weave": { "weave": {
"npm": "@ai-sdk/openai-compatible", "npm": "@ai-sdk/openai-compatible",
"options": { "baseURL": "https://weave.redpencil.io/v1", "apiKey": "{env:WEAVE_API_KEY}" }, "options": {
"baseURL": "https://weave.redpencil.io/v1",
"apiKey": "{env:WEAVE_API_KEY}"
},
"models": { "models": {
"claude-sonnet": { "tools": true }, "claude-sonnet": {
"claude-opus": { "tools": true }, "tools": true
"claude-haiku": { "tools": true }, },
"Mistral-Small-3.2-24B-Instruct-2506": { "tools": true }, "claude-opus": {
"phi-4": { "tools": true }, "tools": true
"gemini-3.5-flash": { "tools": true }, },
"gemini-3.1-pro": { "tools": true }, "claude-haiku": {
"qwen3.6-35B-A3B": { "tools": true }, "tools": true
"qwen3-coder-480B-A35B-Instruct": { "tools": true }, },
"glm-5.2": { "tools": true }, "Mistral-Small-3.2-24B-Instruct-2506": {
"kimi-K2.7-code": { "tools": true }, "tools": true
"MiniMax-M2.7": { "tools": true }, },
"DeepSeek-V4-Flash": { "tools": true }, "phi-4": {
"DeepSeek-V4-Pro": { "tools": true }, "tools": true
"nemotron-3-ultra": { "tools": true }, },
"mimo-v2.5-pro": { "tools": true }, "gemini-3.5-flash": {
"qwen3-max-thinking": { "tools": true }, "tools": true
"gpt-oss-120b": { "tools": true }, },
"mistral-large": { "tools": true }, "gemini-3.1-pro": {
"mistral-medium": { "tools": true }, "tools": true
"mistral-small": { "tools": true }, },
"magistral-medium": { "tools": true }, "qwen3.6-35B-A3B": {
"magistral-small": { "tools": true }, "tools": true
"codestral": { "tools": true }, },
"devstral": { "tools": true }, "qwen3-coder-480B-A35B-Instruct": {
"mistral-embed": { "tools": false }, "tools": true
"mistral-ocr": { "tools": false }, },
"ministral-14b": { "tools": true }, "glm-5.2": {
"ministral-8b": { "tools": true }, "tools": true
"ministral-3b": { "tools": true }, },
"local-gemma3:27b-it-qat": { "tools": true }, "kimi-K2.7-code": {
"local-gpt-oss:20b": { "tools": true }, "tools": true
"local-qwen3.6:27b": { "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": { "permission": {
"read": "allow", "read": "ask",
"edit": "allow", "edit": "ask",
"bash": "allow", "bash": "ask",
"external_directory": "allow" "external_directory": "ask"
} }
} }