Add reasoning settings for gpt-5 and o-series models

Created on 8 September 2025, 25 days ago

Problem/Motivation

Currently the gpt-5 and o-models have reasoning settings that are not exposed in Drupal. This means that for agents it might not be very useful, when you need quick responses where you do not want extended reasoning.

More information can be found here: https://platform.openai.com/docs/api-reference/responses/create#response...

One problem is that this is an object of values, something that the form helper does not support right now. I think we should fix that for 2.x, but for now it would be good if these are just separate values, that the provider merges into an object in the payload.

This can be debugged in the AI API Explorer, if the configurations are there and sent.

Proposed resolution

Add the settings.
Send the settings.

📌 Task
Status

Active

Version

1.2

Component

Code

Created by

🇩🇪Germany marcus_johansson

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024