Closed
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
passing include
keyword argument to beta.threads.runs.stream
function leads to
openai.BadRequestError: Error code: 400 - {'error': {'message': "Unknown parameter: 'include'.", 'type': 'invalid_request_error', 'param': 'include', 'code': 'unknown_parameter'}}
To Reproduce
client.beta.threads.runs.stream(
thread_id=thread.id,
assistant_id=assistant.id,
include=["step_details.tool_calls[*].file_search.results[*].content"],
)
Code snippets
No response
OS
macOS
Python version
Python v3.11.5
Library version
openai v1.57.0