Describe the issue
When using codeunit Azure OpenAI with a reasoning model (e.g. gpt-5.x), reasoning_effort cannot be parameterized
Expected behavior
Method ReasoningEffort is available in codeunit AOAIChatCompletionParams and can be configured.
Steps to reproduce
- create a reasoning model in ai.azure.com
- run AzureOpenAI.GenerateChatCompletion(AOAIChatMessages, AOAIChatCompletionParams, AOAIOperationResponse); with the corresponding parameters.
- reasoning_effort cannot be parameterized. probably default value is choosen.
Additional context
No response
I will provide a fix for a bug