Skip to content

spring.ai.openai.chat.reasoning-effort not documented #6940

Description

@pcdavid

Bug description

The spring.ai.openai.chat.reasoning-effort option is implemented, but contrary to the equivalent for DeepSeek or Mistral, it is not documented for OpenAI.

Steps to reproduce

  1. Try to use Spring AI 2.0.0 with -Dspring.ai.openai.chat.model=gpt-5.6-terra.
  2. As soon as a tool is invoked, you get:

400: Function tools with reasoning_effort are not supported for gpt-5.6-terra in /v1/chat/completions. To use function tools, use /v1/responses or set reasoning_effort to 'none'.

  1. Look at the doc to see if this option is supported. It does not appear.
  2. Try it anyway, with -Dspring.ai.openai.chat.reasoning-effort=none.
  3. It actually works, just not documented.

Expected behavior

The OpenAI documentation should mention all supported options to avoid confusion.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions