-
Notifications
You must be signed in to change notification settings - Fork 2.9k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
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
Labels
bugSomething isn't workingSomething isn't working