Skip to content

[Bug]: Add Missing Parameters for Reasoning Models to AOAIChatCompletionParams.Codeunit #6020

@jamesmayr

Description

@jamesmayr

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

  1. create a reasoning model in ai.azure.com
  2. run AzureOpenAI.GenerateChatCompletion(AOAIChatMessages, AOAIChatCompletionParams, AOAIOperationResponse); with the corresponding parameters.
  3. reasoning_effort cannot be parameterized. probably default value is choosen.

Additional context

No response

I will provide a fix for a bug

  • I will provide a fix for a bug

Metadata

Metadata

Assignees

No one assigned

    Labels

    ApprovedThe issue is approvedIntegrationGitHub request for Integration area

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions