You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
Confirm this is an issue with the Python library and not an underlying OpenAI API
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
The text was updated successfully, but these errors were encountered: