Skip to content

gpt-5.1 with reasoning effort = none #2089

@jechearte

Description

@jechearte

I want to create an agent that uses the gpt-5.1 model without reasoning (reasoning effort = "none").
The problem is that I get an error message saying that "none" is not a valid value:

pydantic_core._pydantic_core.ValidationError: 1 validation error for ModelSettings
reasoning.effort
  Input should be 'minimal', 'low', 'medium' or 'high' [type=literal_error, input_value='none', input_type=str]

If I use reasoning effort = minimal, I get another error message, this time from OpenAI:

openai.BadRequestError: Error code: 400 - {'error': {'message': "Unsupported value: 'minimal' is not supported with the 'gpt-5.1' model. Supported values are: 'none', 'low', 'medium', and 'high'.", 'type': 'invalid_request_error', 'param': 'reasoning.effort', 'code': 'unsupported_value'}}

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions