fix: use OpenCode model catalog URL (#39672)
Co-authored-by: Dax Raad <d@ironbay.co>
This commit is contained in:
committed by
GitHub
parent
ff0382e971
commit
a4f25a94b4
@@ -45,7 +45,7 @@ function providerIconsPlugin() {
|
||||
}
|
||||
|
||||
async function fetchProviderIcons() {
|
||||
const url = process.env.OPENCODE_MODELS_URL || "https://models.dev"
|
||||
const url = process.env.OPENCODE_MODELS_URL || "https://models.opencode.ai"
|
||||
const providers = await fetch(`${url}/api.json`)
|
||||
.then((res) => res.json())
|
||||
.then((json) => Object.keys(json))
|
||||
|
||||
Reference in New Issue
Block a user