diff --git a/config/opencode/opencode.json b/config/opencode/opencode.json index 182a085..bdc014b 100644 --- a/config/opencode/opencode.json +++ b/config/opencode/opencode.json @@ -3,41 +3,57 @@ "model": "weave/glm-5.3-flash", "agents": { "title": { - "model": "weave/glm-5.3-flash", - }, + "model": "weave/glm-5.3-flash" + } }, - "provider": { + "providers": { "weave": { - "npm": "@ai-sdk/openai-compatible", - "options": { + "package": "@opencode/ai/providers/openai-compatible", + "settings": { "baseURL": "https://weave.redpencil.io/v1", "apiKey": "{env:WEAVE_API_KEY}" }, "models": { "kimi-K2.7-code": { - "tools": true + "capabilities": { + "tools": true + } }, "glm-5.3": { - "tools": true + "capabilities": { + "tools": true + } }, "glm-5.3-flash": { - "tools": true + "capabilities": { + "tools": true + } }, "mistral-glm-5.2": { - "tools": true, - "reasoning": true, - "options": { + "capabilities": { + "tools": true, + "reasoning": { + "supported": true + } + }, + "settings": { "reasoningEffort": "xhigh" } }, "devstral": { - "tools": true + "capabilities": { + "tools": true + } }, "local-qwen3.6:27b": { - "tools": true + "capabilities": { + "tools": true + } }, "mistral-medium": { - "tools": true + "capabilities": { + "tools": true + } } } } @@ -48,4 +64,4 @@ "bash": "ask", "external_directory": "ask" } -} +} \ No newline at end of file