-
Notifications
You must be signed in to change notification settings - Fork 4.2k
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Confirm this is an issue with the Python library and not an underlying OpenAI API
- This is an issue with the Python library
Describe the bug
When we use OpenAI version 1.70.0, we are getting the following error:
TypeError: Responses.create() got an unexpected keyword argument 'verbosity'
We we used the most up-to-date OpenAI version of 1.99.3, we get the following:
BadRequestError: Error code: 400 - {'error': {'message': "Unknown parameter: 'verbosity'.", 'type': 'invalid_request_error', 'param': 'verbosity', 'code': 'unknown_parameter'}}
Is there a fix to this?
To Reproduce
- Download either OpenAI package with version 1.70.0 or 1.99.3.
2.Run the following code.
Code snippets
response = client.responses.create(
model="gpt-5-2025-08-07",
input=[
{"role": "user", "content": 'Hello'},
],
reasoning={
"effort": "minimal",
},
max_output_tokens=4096,
stream=False,
verbosity='low'
)
OS
macOS
Python version
Python v3.10.14
Library version
openai v1.70.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working