Initial Checks
Description
The unified thinking='minimal' setting maps directly to OpenAI's reasoning_effort='minimal'. All three GPT-5.6 variants reject that value with HTTP 400; their lowest supported active effort is low.
Live requests against both the Responses and Chat Completions APIs confirmed this for gpt-5.6-luna, gpt-5.6-sol, and gpt-5.6-terra. The Responses error is:
Unsupported value: 'minimal' is not supported with the 'gpt-5.6-sol' model. Supported values are: 'none', 'low', 'medium', 'high', 'xhigh', and 'max'.
Pydantic AI's unified thinking contract says unsupported levels map to the closest available value, so thinking='minimal' should map to low for GPT-5.6. An explicit provider-specific openai_reasoning_effort='minimal' should remain unchanged and let OpenAI report the incompatibility, consistent with provider-specific setting behavior.
Minimal, Reproducible Example
from pydantic_ai import Agent
from pydantic_ai.models.openai import OpenAIResponsesModel
agent = Agent(OpenAIResponsesModel('gpt-5.6-sol'), model_settings={'thinking': 'minimal'})
agent.run_sync('Reply with OK.') # OpenAI returns HTTP 400
Python, Pydantic AI & LLM client version
- Python: 3.12.9
- Pydantic AI: current
main (051a92a2)
- LLM provider SDK: OpenAI 2.63.0
Initial Checks
Description
The unified
thinking='minimal'setting maps directly to OpenAI'sreasoning_effort='minimal'. All three GPT-5.6 variants reject that value with HTTP 400; their lowest supported active effort islow.Live requests against both the Responses and Chat Completions APIs confirmed this for
gpt-5.6-luna,gpt-5.6-sol, andgpt-5.6-terra. The Responses error is:Pydantic AI's unified thinking contract says unsupported levels map to the closest available value, so
thinking='minimal'should map tolowfor GPT-5.6. An explicit provider-specificopenai_reasoning_effort='minimal'should remain unchanged and let OpenAI report the incompatibility, consistent with provider-specific setting behavior.Minimal, Reproducible Example
Python, Pydantic AI & LLM client version
main(051a92a2)