forked from ai-tools/app-opencode
convert provider config to new v2 providers config
This commit is contained in:
@@ -3,41 +3,57 @@
|
|||||||
"model": "weave/glm-5.3-flash",
|
"model": "weave/glm-5.3-flash",
|
||||||
"agents": {
|
"agents": {
|
||||||
"title": {
|
"title": {
|
||||||
"model": "weave/glm-5.3-flash",
|
"model": "weave/glm-5.3-flash"
|
||||||
},
|
}
|
||||||
},
|
},
|
||||||
"provider": {
|
"providers": {
|
||||||
"weave": {
|
"weave": {
|
||||||
"npm": "@ai-sdk/openai-compatible",
|
"package": "@opencode/ai/providers/openai-compatible",
|
||||||
"options": {
|
"settings": {
|
||||||
"baseURL": "https://weave.redpencil.io/v1",
|
"baseURL": "https://weave.redpencil.io/v1",
|
||||||
"apiKey": "{env:WEAVE_API_KEY}"
|
"apiKey": "{env:WEAVE_API_KEY}"
|
||||||
},
|
},
|
||||||
"models": {
|
"models": {
|
||||||
"kimi-K2.7-code": {
|
"kimi-K2.7-code": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"glm-5.3": {
|
"glm-5.3": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"glm-5.3-flash": {
|
"glm-5.3-flash": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"mistral-glm-5.2": {
|
"mistral-glm-5.2": {
|
||||||
"tools": true,
|
"capabilities": {
|
||||||
"reasoning": true,
|
"tools": true,
|
||||||
"options": {
|
"reasoning": {
|
||||||
|
"supported": true
|
||||||
|
}
|
||||||
|
},
|
||||||
|
"settings": {
|
||||||
"reasoningEffort": "xhigh"
|
"reasoningEffort": "xhigh"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"devstral": {
|
"devstral": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"local-qwen3.6:27b": {
|
"local-qwen3.6:27b": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
},
|
},
|
||||||
"mistral-medium": {
|
"mistral-medium": {
|
||||||
"tools": true
|
"capabilities": {
|
||||||
|
"tools": true
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -48,4 +64,4 @@
|
|||||||
"bash": "ask",
|
"bash": "ask",
|
||||||
"external_directory": "ask"
|
"external_directory": "ask"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in New Issue
Block a user