https://github.com/sst/opencode/blob/d6350a7fa61702ac2aa74357e901d59f2c4ee1c7/packages/opencode/src/provider/transform.ts#L94-L97
Azure's OpenAI compatible API does not seem to support that textVerbosity parameter. Currently the only way to disable sending that parameter it is to extend the azure provider. (See the code above.) I'm—however—using a proxy that uses Azure among other hosts (LiteLLM based) and have my provider configured like:
{
"provider": {
"my-custom-provider": {
"name": "My Custom Provider",
"npm": "@ai-sdk/openai-compatible",
"options": {
"baseURL": "https://my-provider.com",
"apiKey": "...",
"includeUsage": true
},
"models": {
"gpt-5": {}
}
}
}
}
And see errors like:
AzureException BadRequestError - Unknown parameter: 'textVerbosity'
Any ideas on how we could hint at the config that the backend doesn't support that option?
https://github.com/sst/opencode/blob/d6350a7fa61702ac2aa74357e901d59f2c4ee1c7/packages/opencode/src/provider/transform.ts#L94-L97
Azure's OpenAI compatible API does not seem to support that
textVerbosityparameter. Currently the only way to disable sending that parameter it is to extend theazureprovider. (See the code above.) I'm—however—using a proxy that uses Azure among other hosts (LiteLLM based) and have my provider configured like:{ "provider": { "my-custom-provider": { "name": "My Custom Provider", "npm": "@ai-sdk/openai-compatible", "options": { "baseURL": "https://my-provider.com", "apiKey": "...", "includeUsage": true }, "models": { "gpt-5": {} } } } }And see errors like:
Any ideas on how we could hint at the config that the backend doesn't support that option?