-
Notifications
You must be signed in to change notification settings - Fork 4.1k
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
Parametr name mismatch in method create_and_run_stream parametr tool_resources
when call post request body data named tool.
And result :
openai.BadRequestError: Error code: 400 - {'error': {'message': "Unknown parameter: 'tool'.", 'type': 'invalid_request_error', 'param': 'tool', 'code': 'unknown_parameter'}}
To Reproduce
Call method client.beta.threads.create_and_run() with filled tool_resources param.
Code snippets
No response
OS
Windows
Python version
python v3.10
Library version
openai v1.28.1
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working