Add support for opencode v2 #3

Open
elpoelma wants to merge 6 commits from feature/opencode-v2-support into master
Showing only changes of commit 1ce6cea6c9 - Show all commits

View File

@@ -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"
}
}
}