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
- Try to use Spring AI 2.0.0 with
-Dspring.ai.openai.chat.model=gpt-5.6-terra.
- 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'.
- Look at the doc to see if this option is supported. It does not appear.
- Try it anyway, with
-Dspring.ai.openai.chat.reasoning-effort=none.
- It actually works, just not documented.
Expected behavior
The OpenAI documentation should mention all supported options to avoid confusion.
Bug description
The
spring.ai.openai.chat.reasoning-effortoption is implemented, but contrary to the equivalent for DeepSeek or Mistral, it is not documented for OpenAI.Steps to reproduce
-Dspring.ai.openai.chat.model=gpt-5.6-terra.-Dspring.ai.openai.chat.reasoning-effort=none.Expected behavior
The OpenAI documentation should mention all supported options to avoid confusion.