Question
I am using the below in opencode.json,
"azure": {
"npm": "@ai-sdk/anthropic",
"options": {
"apiKey": [mykeys],
"baseURL": "https://my-resource.services.ai.azure.com/anthropic/v1/messages"
},
"models": {
"claude-opus-4-6": {
"name": "claude-opus-4-6"
}
}
}
And i got the error below, do you happen to know whats the problem and how to fix it?
hello
Not Found: {"error":{"code":"api_not_supported","message":"Requested API is currently not supported","details":"Requested API is currently not supported"}}
▣ Build · claude-opus-4-6
Question
I am using the below in opencode.json,
"azure": {
"npm": "@ai-sdk/anthropic",
"options": {
"apiKey": [mykeys],
"baseURL": "https://my-resource.services.ai.azure.com/anthropic/v1/messages"
},
"models": {
"claude-opus-4-6": {
"name": "claude-opus-4-6"
}
}
}
And i got the error below, do you happen to know whats the problem and how to fix it?
hello
Not Found: {"error":{"code":"api_not_supported","message":"Requested API is currently not supported","details":"Requested API is currently not supported"}}
▣ Build · claude-opus-4-6