You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Bug: Unknown parameter: 'reasoningEffort'. Did you mean 'reasoning_effort'? #1742
When using GPT-5 from azure I get the following error.
Log Output
AzureException BadRequestError - Unknown parameter: 'reasoningEffort'. Did you mean
'reasoning_effort'?. Received Model Group=gpt-5
Available Model Group Fallbacks=None
I see this was marked as closed but I'm still seeing the issue in v0.4.18
AI_APICallError: AzureException BadRequestError - Unknown parameter: 'reasoningEffort'. Did you mean
'reasoning_effort'?. Received Model Group=gpt-5
Available Model Group Fallbacks=None
@thdxr was this fixed in a different version then this ?
Azure's OpenAI compatible API does not seem to support that textVerbosity parameter. Currently the only way to disable it is to extend the azure provider. I'm—however—using a proxy that uses Azure among other hosts (LiteLLM based) and have my provider configured like:
Activity
otomist commentedon Aug 9, 2025
+1
bcardarella commentedon Aug 11, 2025
I'm not sure if this is the same but with gpt5 I get this error:
ncecere commentedon Aug 11, 2025
I see this was marked as closed but I'm still seeing the issue in v0.4.18
@thdxr was this fixed in a different version then this ?
Salmin commentedon Aug 12, 2025
I can't use GPT-5
Cleaning .cache/opencode doesn't help
AI_APICallError: Unsupported parameter: 'reasoning.effort' is not supported with this model.
jessevdp commentedon Sep 1, 2025
I just ran into this issue too:
I did attempt to
rm -rf ~/.cache/opencodewithout luck.I'm on version:
Does anyone know what's going on?
rekram1-node commentedon Sep 1, 2025
seems like this issue wasn’t quite fixed, I will reopen and investigate it
jessevdp commentedon Sep 1, 2025
I've traced the issue here:
vercel/ai#8372
The client is sending both the camel cased and snake cased version.
bcardarella commentedon Sep 1, 2025
fwiw I'm on the latest and no longer have this issue. I didn't do anything special other than let the software update
jessevdp commentedon Sep 2, 2025
My PR for
@ai-sdk/openai-compatiblehas been merged: vercel/ai#8392. Should be released later today.rekram1-node commentedon Sep 2, 2025
sweet
jessevdp commentedon Sep 2, 2025
Sorta related though, since the code is pretty much co-located:
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 it is to extend theazureprovider. 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": {} } } }Any ideas on how we could hint at the config that the backend doesn't support that option?
Should I open a separate issue? (probably right..)
rekram1-node commentedon Sep 2, 2025
yes plz! @jessevdp
jessevdp commentedon Sep 3, 2025
done! #2387 @rekram1-node
jessevdp commentedon Sep 3, 2025
The fix to
@ai-sdk/openai-compatiblewas released: https://github.com/vercel/ai/releases/tag/%40ai-sdk%2Fopenai-compatible%401.0.14. I can confirm that after forcing an install of the latest version (by runningrm -rf ~/.cache/opencode) that onlyreasoning_effortis sent and notreasoningEffort, fixing this issue.OK to close this one?
rekram1-node commentedon Sep 3, 2025
yeah I think we can close now
fix(app): prevent stale Den org refreshes (anomalyco#1742)